From ac98a4e40730f9d7216f67ce8f2e10cde6055cdb Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Thu, 5 Dec 2013 13:56:56 +0100 Subject: Test syslog.openlog() without args to test syslog_get_argv() --- Lib/test/test_syslog.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Lib/test/test_syslog.py') diff --git a/Lib/test/test_syslog.py b/Lib/test/test_syslog.py index 4e7621e5ec..b7fd2bdabb 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__) -- cgit v1.2.1