python (3.12.0)
Αe d dl mZmZ ej d Zd dlmZ d dlZd dlZd dl Z d dl
Z
d dlmZ G d de
j Zedk( r e
j yy) )
import_helperthreading_helpersyslog)supportN)dedentc | e Zd Zd Zd Zd Zd Zd Zd Zd Z d Z
ej d Z
d
Zd Zd Zy
)Testc , t j y N)r closelogselfs D/BuggyBox/python/3.12.0/bootstrap/lib/python3.12/test/test_syslog.pytearDownz
Test.tearDown s c x t j d | j t t j d y )Npythonu )r openlogassertRaisesUnicodeEncodeErrorr
s r test_openlogzTest.test_openlog s% x ,fnnhGr c t j d t j d t j t j d y )Nr $test message from python test_syslog"test error from python test_syslog)r r LOG_ERRr
s r test_syslogzTest.test_syslog s. x
<=
fnn&JKr c t j t j d t j t j d y )Nr r )r r r r
s r test_syslog_implicit_openzTest.test_syslog_implicit_open s,
<=
fnn&JKr c ~ t j d t j t j y )Nr )r r r r
s r
test_closelogzTest.test_closelog"