summaryrefslogtreecommitdiffstats
path: root/Objects/stringlib/ucs2lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/stringlib/ucs2lib.h')
0 files changed, 0 insertions, 0 deletions
f.assertRaises(UnicodeEncodeError, syslog.openlog, '\uD800') def test_syslog(self): syslog.openlog('python') syslog.syslog('test message from python test_syslog') syslog.syslog(syslog.LOG_ERR, 'test error from python test_syslog') def test_closelog(self): syslog.openlog('python') syslog.closelog() def test_setlogmask(self): syslog.setlogmask(syslog.LOG_DEBUG) def test_log_mask(self): syslog.LOG_MASK(syslog.LOG_INFO) 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') if __name__ == "__main__": unittest.main()