diff options
Diffstat (limited to 'tests/test_spawn.py')
| -rw-r--r-- | tests/test_spawn.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_spawn.py b/tests/test_spawn.py index 950e5789..5b91aa5a 100644 --- a/tests/test_spawn.py +++ b/tests/test_spawn.py @@ -2,7 +2,7 @@ import unittest import os import time -from test.support import captured_stdout +from test.support import captured_stdout, run_unittest from distutils.spawn import _nt_quote_args from distutils.spawn import spawn, find_executable @@ -55,4 +55,4 @@ def test_suite(): return unittest.makeSuite(SpawnTestCase) if __name__ == "__main__": - unittest.main(defaultTest="test_suite") + run_unittest(test_suite()) |
