Skip to content

Commit 84c0da3

Browse files
committed
Tighten up the inline script in the test a bit
1 parent a8da27b commit 84c0da3

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

Lib/test/test_array.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ def test_module_init_mutablesequence_register_failure(self):
4949
import array
5050
except AttributeError:
5151
pass
52-
else:
53-
raise SystemExit("import array should have failed")
5452
""")
5553
assert_python_ok("-c", script)
5654

0 commit comments

Comments
 (0)