summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pep3120.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2012-02-15 21:31:23 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2012-02-15 21:31:23 (GMT)
commit23357eb4d6becc93728b83c1fed9fe03e100bcfa (patch)
tree213b50d9f5e6d9ddd2cd230daaa79c4f4351babc /Lib/test/test_pep3120.py
parent2f5a163dfc76d53b5ecd04ff19c4d15761d106a7 (diff)
parent1303298d0696f2544c09865f4f997ee99e88eddc (diff)
downloadcpython-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.py2
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")