[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:
Simon Charette 2013-08-20 04:01:42 -04:00
parent f0bc2865ff
commit 3ae585b449
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ class DispatcherTests(unittest.TestCase):
Make sure signal caching sender receivers don't prevent garbage Make sure signal caching sender receivers don't prevent garbage
collection of senders. collection of senders.
""" """
class sender: class sender(object):
pass pass
wref = weakref.ref(sender) wref = weakref.ref(sender)
d_signal.connect(receiver_1_arg) d_signal.connect(receiver_1_arg)