Added a warnings filter for some versions of 'coverage' under Py3.
- Legacy-Id: 17680
This commit is contained in:
parent
e920337c69
commit
20c1bd532f
|
@ -31,8 +31,10 @@ warnings.filterwarnings("ignore", message="'U' mode is deprecated", module="docu
|
|||
warnings.filterwarnings("ignore", message="'U' mode is deprecated", module="xml2rfc")
|
||||
warnings.filterwarnings("ignore", message="'U' mode is deprecated", module="site")
|
||||
warnings.filterwarnings("ignore", message="Flags not at the start of the expression", module="genshi")
|
||||
warnings.filterwarnings("ignore", message="Flags not at the start of the expression", module="coverage")
|
||||
warnings.filterwarnings("ignore", message="encodestring\(\) is a deprecated alias since 3.1, use encodebytes\(\)")
|
||||
|
||||
|
||||
try:
|
||||
import syslog
|
||||
syslog.openlog(str("datatracker"), syslog.LOG_PID, syslog.LOG_USER)
|
||||
|
|
Loading…
Reference in a new issue