diff options
Diffstat (limited to 'Lib/test/test_startfile.py')
-rw-r--r-- | Lib/test/test_startfile.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Lib/test/test_startfile.py b/Lib/test/test_startfile.py index 43abf9b7e1..f59252e97a 100644 --- a/Lib/test/test_startfile.py +++ b/Lib/test/test_startfile.py @@ -30,8 +30,5 @@ class TestCase(unittest.TestCase): startfile(empty) startfile(empty, "open") -def test_main(): - support.run_unittest(TestCase) - -if __name__=="__main__": - test_main() +if __name__ == "__main__": + unittest.main() |