Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2f5a163 + 1303298 commit 23357ebCopy full SHA for 23357eb
1 file changed
Lib/test/test_pep3120.py
@@ -20,7 +20,7 @@ def test_badsyntax(self):
20
import test.badsyntax_pep3120
21
except SyntaxError as msg:
22
msg = str(msg)
23
- self.assertTrue('UTF-8' in msg or 'utf8' in msg)
+ self.assertTrue('Non-UTF-8 code starting with' in msg)
24
else:
25
self.fail("expected exception didn't occur")
26
0 commit comments