summary refs log tree commit diff stats
path: root/test/tc_newkeys.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/tc_newkeys.py')
-rw-r--r--test/tc_newkeys.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tc_newkeys.py b/test/tc_newkeys.py
index 2a44e0e8..c7a33025 100644
--- a/test/tc_newkeys.py
+++ b/test/tc_newkeys.py
@@ -424,7 +424,7 @@ class Test(PressTestCase):
 		self.assertPressFails(kb, 'xzy')
 		self.assertPressIncomplete(kb, 'xx')
 		self.assertPressIncomplete(kb, 'x')
-		if not sys.flags.optimize:
+		if not sys.flags.optimize:  # asserts are ignored with python -O
 			self.assertRaises(AssertionError, simulate_press, kb, 'xxx')
 		kb.clear()
 
45c69c8c006be158c18a8d'>1f56ac64 ^
0cb988d0 ^
292ccba1 ^







aa2e2155 ^
292ccba1 ^
069ed1c8 ^
62c6d163 ^
292ccba1 ^

069ed1c8 ^
292ccba1 ^







1f56ac64 ^
0cb988d0 ^
3ecd66fb ^
292ccba1 ^
871ea368 ^

292ccba1 ^





069ed1c8 ^
292ccba1 ^


069ed1c8 ^
292ccba1 ^





39c0d1b1 ^
0cb988d0 ^
3ecd66fb ^
292ccba1 ^
39c0d1b1 ^

871ea368 ^

292ccba1 ^





aa2e2155 ^
3f4bbe9e ^
aa2e2155 ^
292ccba1 ^

39c0d1b1 ^
0cb988d0 ^
292ccba1 ^
39c0d1b1 ^

292ccba1 ^





069ed1c8 ^
292ccba1 ^
069ed1c8 ^
292ccba1 ^

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
78
79
80
81
82
83
84
85
86
87
88
89
90