summary refs log tree commit diff stats
path: root/test/tc_signal.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/tc_signal.py')
-rw-r--r--test/tc_signal.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/tc_signal.py b/test/tc_signal.py
index 639cf7c3..ad04beab 100644
--- a/test/tc_signal.py
+++ b/test/tc_signal.py
@@ -119,13 +119,16 @@ class TestSignal(unittest.TestCase):
 
 		self.assertEqual('a', ''.join(alphabet))
 		sd.signal_bind('mysignal', foo.calc, weak=True)
-		del foo
+		print("jambo")
 
 		sd.signal_emit('mysignal')
 		self.assertEqual('ab', ''.join(alphabet))
 		self.assertFalse(is_deleted[0])
 
-		del calc
+		del foo
+
+		sd.signal_emit('mysignal')
+		self.assertEqual('ab', ''.join(alphabet))
 		self.assertTrue(is_deleted[0])