summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_logging.py
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2015-10-17 15:17:52 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2015-10-17 15:17:52 (GMT)
commit3f445f799aeb041cada532be23d835c15a61d432 (patch)
treebd7051b2a5bb35f6bcd5f0a9b260ffcc6436a3b0 /Lib/test/test_logging.py
parenta83a0e23168f3d4ac730ba7cd931eb25df77e7f3 (diff)
parent277640af0f528f71c9882a30c9325cd02b10a31a (diff)
downloadcpython-3f445f799aeb041cada532be23d835c15a61d432.zip
cpython-3f445f799aeb041cada532be23d835c15a61d432.tar.gz
cpython-3f445f799aeb041cada532be23d835c15a61d432.tar.bz2
Closes #25411: Merged fix from 3.4.
Diffstat (limited to 'Lib/test/test_logging.py')
-rw-r--r--Lib/test/test_logging.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py
index f5e34e7..95575bf 100644
--- a/Lib/test/test_logging.py
+++ b/Lib/test/test_logging.py
@@ -930,7 +930,7 @@ class SMTPHandlerTest(BaseTest):
timeout=self.TIMEOUT)
self.assertEqual(h.toaddrs, ['you'])
self.messages = []
- r = logging.makeLogRecord({'msg': 'Hello'})
+ r = logging.makeLogRecord({'msg': 'Hello \u2713'})
self.handled = threading.Event()
h.handle(r)
self.handled.wait(self.TIMEOUT) # 14314: don't wait forever
@@ -941,7 +941,7 @@ class SMTPHandlerTest(BaseTest):
self.assertEqual(mailfrom, 'me')
self.assertEqual(rcpttos, ['you'])
self.assertIn('\nSubject: Log\n', data)
- self.assertTrue(data.endswith('\n\nHello'))
+ self.assertTrue(data.endswith('\n\nHello \u2713'))
h.close()
def process_message(self, *args):