mirror of
https://github.com/django/django.git
synced 2025-03-12 18:30:48 +00:00
[1.6.x] Fixed a test failure introduced in f0bc2865ff.
`classobj` objects cannot be weakly referenced on Python 2.6
This commit is contained in:
parent
f0bc2865ff
commit
3ae585b449
@ -80,7 +80,7 @@ class DispatcherTests(unittest.TestCase):
|
||||
Make sure signal caching sender receivers don't prevent garbage
|
||||
collection of senders.
|
||||
"""
|
||||
class sender:
|
||||
class sender(object):
|
||||
pass
|
||||
wref = weakref.ref(sender)
|
||||
d_signal.connect(receiver_1_arg)
|
||||
|
Loading…
x
Reference in New Issue
Block a user