diff options
Diffstat (limited to 'Lib/test/test_syslog.py')
-rw-r--r-- | Lib/test/test_syslog.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_syslog.py b/Lib/test/test_syslog.py index 4e7621e5ec2..b7fd2bdabb5 100644 --- a/Lib/test/test_syslog.py +++ b/Lib/test/test_syslog.py @@ -32,6 +32,10 @@ class Test(unittest.TestCase): def test_log_upto(self): syslog.LOG_UPTO(syslog.LOG_INFO) + def test_openlog_noargs(self): + syslog.openlog() + syslog.syslog('test message from python test_syslog') + def test_main(): support.run_unittest(__name__) |