diff options
author | Jon Dufresne <jon.dufresne@gmail.com> | 2019-10-21 17:01:18 -0700 |
---|---|---|
committer | Paul Ganssle <paul@ganssle.io> | 2019-10-22 23:15:40 +0900 |
commit | 4069e0b536802a47c8c15ce839fd98a5f4c84620 (patch) | |
tree | 196a7577d3f79050b840acf1d54181a1eee58cc0 /setuptools/tests | |
parent | e81a2013703111888833446e412d6b67e6203e84 (diff) | |
download | external_python_setuptools-4069e0b536802a47c8c15ce839fd98a5f4c84620.tar.gz external_python_setuptools-4069e0b536802a47c8c15ce839fd98a5f4c84620.tar.bz2 external_python_setuptools-4069e0b536802a47c8c15ce839fd98a5f4c84620.zip |
Remove outdated comment and suppressed exception from test_test.py
The test command has not called sys.exit since commit
2c4fd43277fc477d85b50e15c37b176136676270.
Diffstat (limited to 'setuptools/tests')
-rw-r--r-- | setuptools/tests/test_test.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/setuptools/tests/test_test.py b/setuptools/tests/test_test.py index 280c837b..6242a018 100644 --- a/setuptools/tests/test_test.py +++ b/setuptools/tests/test_test.py @@ -86,9 +86,7 @@ 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() + cmd.run() out, err = capfd.readouterr() assert out == 'Foo\n' @@ -120,9 +118,7 @@ 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() + cmd.run() out, err = capfd.readouterr() assert out == 'Foo\n' |