diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2012-04-16 15:22:38 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2012-04-16 15:22:38 (GMT) |
commit | 7706d9ae4fadc08f400e32737ef2bf5769919bd5 (patch) | |
tree | 486a05abace739e2b7278f019e5b904e37669d5f /Lib/test/test_logging.py | |
parent | e8a463d7912da87bca64ac2e9e8e89cce701ed7c (diff) | |
download | cpython-7706d9ae4fadc08f400e32737ef2bf5769919bd5.zip cpython-7706d9ae4fadc08f400e32737ef2bf5769919bd5.tar.gz cpython-7706d9ae4fadc08f400e32737ef2bf5769919bd5.tar.bz2 |
Closes #14452: brought tests in line with removal of BOM insertion code.
Diffstat (limited to 'Lib/test/test_logging.py')
-rw-r--r-- | Lib/test/test_logging.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index b0f8f9f..edcefa1 100644 --- a/Lib/test/test_logging.py +++ b/Lib/test/test_logging.py @@ -1480,17 +1480,17 @@ class SysLogHandlerTest(BaseTest): logger = logging.getLogger("slh") logger.error("sp\xe4m") self.handled.wait() - self.assertEqual(self.log_output, b'<11>\xef\xbb\xbfsp\xc3\xa4m\x00') + self.assertEqual(self.log_output, b'<11>sp\xc3\xa4m\x00') self.handled.clear() self.sl_hdlr.append_nul = False logger.error("sp\xe4m") self.handled.wait() - self.assertEqual(self.log_output, b'<11>\xef\xbb\xbfsp\xc3\xa4m') + self.assertEqual(self.log_output, b'<11>sp\xc3\xa4m') self.handled.clear() self.sl_hdlr.ident = "h\xe4m-" logger.error("sp\xe4m") self.handled.wait() - self.assertEqual(self.log_output, b'<11>\xef\xbb\xbfh\xc3\xa4m-sp\xc3\xa4m') + self.assertEqual(self.log_output, b'<11>h\xc3\xa4m-sp\xc3\xa4m') @unittest.skipUnless(threading, 'Threading required for this test.') |