diff options
| author | Simon Charette <charette.s@gmail.com> | 2013-08-20 04:01:42 -0400 |
|---|---|---|
| committer | Simon Charette <charette.s@gmail.com> | 2013-08-20 04:08:41 -0400 |
| commit | 3ae585b44977d0753a5e5f142b790716d6939258 (patch) | |
| tree | 0fa31af5c8f19032156bca4e02212f1f2b5e5de9 /tests/dispatch | |
| parent | f0bc2865ff9d85c952fa86ae19aee062a5e883cd (diff) | |
[1.6.x] Fixed a test failure introduced in f0bc2865ff.
`classobj` objects cannot be weakly referenced on Python 2.6
Diffstat (limited to 'tests/dispatch')
| -rw-r--r-- | tests/dispatch/tests/test_dispatcher.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/dispatch/tests/test_dispatcher.py b/tests/dispatch/tests/test_dispatcher.py index 2586aeee62..b5edf2867d 100644 --- a/tests/dispatch/tests/test_dispatcher.py +++ b/tests/dispatch/tests/test_dispatcher.py @@ -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) |
