summaryrefslogtreecommitdiff
path: root/Lib/test/test_popen.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_popen.py')
-rw-r--r--Lib/test/test_popen.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/test/test_popen.py b/Lib/test/test_popen.py
index 116b3dd596..da01a878fa 100644
--- a/Lib/test/test_popen.py
+++ b/Lib/test/test_popen.py
@@ -61,8 +61,5 @@ class PopenTest(unittest.TestCase):
with os.popen(cmd="exit 0", mode="w", buffering=-1):
pass
-def test_main():
- support.run_unittest(PopenTest)
-
if __name__ == "__main__":
- test_main()
+ unittest.main()