Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fa8222 commit 951a9e3Copy full SHA for 951a9e3
1 file changed
Lib/test/test_runpy.py
@@ -523,10 +523,10 @@ def test_encoding(self):
523
with open(filename, 'w', encoding='latin1') as f:
524
f.write("""
525
#coding:latin1
526
-"non-ASCII: h\xe9"
+s = "non-ASCII: h\xe9"
527
""")
528
result = run_path(filename)
529
- self.assertEqual(result['__doc__'], "non-ASCII: h\xe9")
+ self.assertEqual(result['s'], "non-ASCII: h\xe9")
530
531
532
def test_main():
0 commit comments