summaryrefslogtreecommitdiff
path: root/Lib/test/test_syslog.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_syslog.py')
-rw-r--r--Lib/test/test_syslog.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/test/test_syslog.py b/Lib/test/test_syslog.py
index b7fd2bdabb..6f902f1049 100644
--- a/Lib/test/test_syslog.py
+++ b/Lib/test/test_syslog.py
@@ -36,8 +36,5 @@ class Test(unittest.TestCase):
syslog.openlog()
syslog.syslog('test message from python test_syslog')
-def test_main():
- support.run_unittest(__name__)
-
if __name__ == "__main__":
- test_main()
+ unittest.main()