Commit 4069e0b5 authored by Jon Dufresne's avatar Jon Dufresne Committed by Paul Ganssle

Remove outdated comment and suppressed exception from test_test.py

The test command has not called sys.exit since commit
2c4fd432.
parent e81a2013
......@@ -86,8 +86,6 @@ def test_test(capfd):
dist.script_name = 'setup.py'
cmd = test(dist)
cmd.ensure_finalized()
# The test runner calls sys.exit
with contexts.suppress_exceptions(SystemExit):
cmd.run()
out, err = capfd.readouterr()
assert out == 'Foo\n'
......@@ -120,8 +118,6 @@ def test_tests_are_run_once(capfd):
dist.script_name = 'setup.py'
cmd = test(dist)
cmd.ensure_finalized()
# The test runner calls sys.exit
with contexts.suppress_exceptions(SystemExit):
cmd.run()
out, err = capfd.readouterr()
assert out == 'Foo\n'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment