summary refs log tree commit diff stats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-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])
 
 
main&id=ac07e589b3e912c704c2011d543f18b16712ff15'>ac07e589 ^
bb2b6ba7 ^

ac07e589 ^

08a0eed6 ^
14a38052 ^
ac07e589 ^
60338448 ^
ac07e589 ^
695f9bf8 ^
bb2b6ba7 ^















695f9bf8 ^
bb2b6ba7 ^















c9bda4d1 ^
bb2b6ba7 ^
14a38052 ^
c56d803c ^

60338448 ^
a0d3cac4 ^
ebd35521 ^
c56d803c ^


bb2b6ba7 ^
a0d3cac4 ^
d1c9392a ^
695f9bf8 ^
a0d3cac4 ^
c9bda4d1 ^
a0d3cac4 ^


bb2b6ba7 ^



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77