diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2012-02-15 21:31:23 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2012-02-15 21:31:23 (GMT) |
commit | 23357eb4d6becc93728b83c1fed9fe03e100bcfa (patch) | |
tree | 213b50d9f5e6d9ddd2cd230daaa79c4f4351babc /Lib/test/test_pep3120.py | |
parent | 2f5a163dfc76d53b5ecd04ff19c4d15761d106a7 (diff) | |
parent | 1303298d0696f2544c09865f4f997ee99e88eddc (diff) | |
download | cpython-23357eb4d6becc93728b83c1fed9fe03e100bcfa.zip cpython-23357eb4d6becc93728b83c1fed9fe03e100bcfa.tar.gz cpython-23357eb4d6becc93728b83c1fed9fe03e100bcfa.tar.bz2 |
Merge
Diffstat (limited to 'Lib/test/test_pep3120.py')
-rw-r--r-- | Lib/test/test_pep3120.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_pep3120.py b/Lib/test/test_pep3120.py index 09fedf0..d4c20ef 100644 --- a/Lib/test/test_pep3120.py +++ b/Lib/test/test_pep3120.py @@ -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") |