Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
23357eb4
Commit
23357eb4
authored
Feb 15, 2012
by
Antoine Pitrou
Browse files
Options
Browse Files
Download
Plain Diff
Merge
parents
2f5a163d
1303298d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Lib/test/test_pep3120.py
Lib/test/test_pep3120.py
+1
-1
No files found.
Lib/test/test_pep3120.py
View file @
23357eb4
...
@@ -20,7 +20,7 @@ class PEP3120Test(unittest.TestCase):
...
@@ -20,7 +20,7 @@ class PEP3120Test(unittest.TestCase):
import test.badsyntax_pep3120
import test.badsyntax_pep3120
except SyntaxError as msg:
except SyntaxError as msg:
msg = str(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:
else:
self.fail("
expected
exception
didn
't occur")
self.fail("
expected
exception
didn
't occur")
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment