commit | ac98a4e40730f9d7216f67ce8f2e10cde6055cdb | [log] [tgz] |
---|---|---|
author | Christian Heimes <christian@cheimes.de> | Thu Dec 05 13:56:56 2013 +0100 |
committer | Christian Heimes <christian@cheimes.de> | Thu Dec 05 13:56:56 2013 +0100 |
tree | fb1c7f5ba8a3bdb8b29ae276d73c72a47fe22901 | |
parent | db8f5c3fd1af581d40444a7b710f854ffb0d5b3a [diff] |
Test syslog.openlog() without args to test syslog_get_argv()
diff --git a/Lib/test/test_syslog.py b/Lib/test/test_syslog.py index 4e7621e5..b7fd2bd 100644 --- a/Lib/test/test_syslog.py +++ b/Lib/test/test_syslog.py
@@ -32,6 +32,10 @@ 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__)