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__)