mirror of
https://github.com/python/cpython.git
synced 2025-12-09 10:37:17 +00:00
Test syslog.openlog() without args to test syslog_get_argv()
This commit is contained in:
parent
db8f5c3fd1
commit
ac98a4e407
1 changed files with 4 additions and 0 deletions
|
|
@ -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__)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue