We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab48a7b commit 3524d56Copy full SHA for 3524d56
tests/test_arcs.py
@@ -161,6 +161,23 @@ def test_what_is_the_sound_of_no_lines_clapping(self):
161
arcz_missing=arcz_missing,
162
)
163
164
+ def test_bug_1184(self):
165
+ self.check_coverage("""\
166
+ def foo(x):
167
+ if x:
168
+ try:
169
+ 1/(x - 1)
170
+ except ZeroDivisionError:
171
+ pass
172
+ return x # 7
173
+
174
+ for i in range(3): # 9
175
+ foo(i)
176
+ """,
177
+ arcz=".1 19 9-1 .2 23 27 34 47 56 67 7-1 9A A9",
178
+ arcz_unpredicted="45",
179
+ )
180
181
182
class WithTest(CoverageTest):
183
"""Arc-measuring tests involving context managers."""
0 commit comments