mirror of
https://github.com/python/cpython.git
synced 2025-07-22 02:35:22 +00:00
Additional grammar fix
This commit is contained in:
parent
abe4d52a1a
commit
614827c149
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ class SyntaxTracebackCases(unittest.TestCase):
|
||||||
text, charset, 5)
|
text, charset, 5)
|
||||||
do_test(" \t\f\n# coding: {0}\n".format(charset),
|
do_test(" \t\f\n# coding: {0}\n".format(charset),
|
||||||
text, charset, 5)
|
text, charset, 5)
|
||||||
# Issue #18960: coding spec should has no effect
|
# Issue #18960: coding spec should have no effect
|
||||||
do_test("x=0\n# coding: GBK\n", "h\xe9 ho", 'utf-8', 5)
|
do_test("x=0\n# coding: GBK\n", "h\xe9 ho", 'utf-8', 5)
|
||||||
|
|
||||||
def test_print_traceback_at_exit(self):
|
def test_print_traceback_at_exit(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue