Skip to content

Commit 99a671c

Browse files
Apply suggestions from code review
Co-authored-by: R. David Murray <rdmurray@bitdance.com>
1 parent 1e89a19 commit 99a671c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_imaplib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ def test_substitute(self):
322322
self.assertEqual(sub('FROM ?', ['me@host']), 'FROM me@host')
323323
self.assertEqual(sub('SUBJECT ?', ['hello world']),
324324
'SUBJECT "hello world"')
325-
self.assertEqual(sub('SUBJECT ?', ['a"b']), 'SUBJECT "a\\"b"')
325+
self.assertEqual(sub('SUBJECT ?', ['a"b']), r'SUBJECT "a\"b"')
326326
# An integer becomes a number, a list a parenthesized list.
327327
self.assertEqual(sub('LARGER ?', [1000]), 'LARGER 1000')
328328
self.assertEqual(sub('HEADER.FIELDS ?', [['DATE', 'FROM']]),

0 commit comments

Comments
 (0)