Kaydet (Commit) 614827c1 authored tarafından Martin Panter's avatar Martin Panter

Additional grammar fix

üst abe4d52a
...@@ -175,7 +175,7 @@ class SyntaxTracebackCases(unittest.TestCase): ...@@ -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):
......
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