Commit 23357eb4 authored by Antoine Pitrou's avatar Antoine Pitrou

Merge

parents 2f5a163d 1303298d
......@@ -20,7 +20,7 @@ class PEP3120Test(unittest.TestCase):
import test.badsyntax_pep3120
except SyntaxError as msg:
msg = str(msg)
self.assertTrue('UTF-8' in msg or 'utf8' in msg)
self.assertTrue('Non-UTF-8 code starting with' in msg)
else:
self.fail("expected exception didn't occur")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment