[Python-checkins] cpython: Test syslog.openlog() without args to test syslog_get_argv()
christian.heimes
python-checkins at python.org
Thu Dec 5 16:13:37 CET 2013
http://hg.python.org/cpython/rev/69681e4615ee
changeset: 87779:69681e4615ee
parent: 87777:14ff7b1383a7
user: Christian Heimes <christian at cheimes.de>
date: Thu Dec 05 13:56:56 2013 +0100
summary:
Test syslog.openlog() without args to test syslog_get_argv()
files:
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
--- 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__)
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list