Skip to content

Commit

Permalink
[1.6.x] Fixed a test failure introduced in f0bc286.
Browse files Browse the repository at this point in the history
`classobj` objects cannot be weakly referenced on Python 2.6
  • Loading branch information
charettes committed Aug 20, 2013
1 parent f0bc286 commit 3ae585b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/dispatch/tests/test_dispatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def testCachedGarbagedCollected(self):
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)
Expand Down

0 comments on commit 3ae585b

Please sign in to comment.