Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 23357eb

Browse files
committed
Merge
2 parents 2f5a163 + 1303298 commit 23357eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_pep3120.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def test_badsyntax(self):
2020
import test.badsyntax_pep3120
2121
except SyntaxError as msg:
2222
msg = str(msg)
23-
self.assertTrue('UTF-8' in msg or 'utf8' in msg)
23+
self.assertTrue('Non-UTF-8 code starting with' in msg)
2424
else:
2525
self.fail("expected exception didn't occur")
2626

0 commit comments

Comments
 (0)