[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…
Reference in New Issue