Skip to content

Commit

Permalink
bpo-41040: Fix test_modulefinder. (pythonGH-20991)
Browse files Browse the repository at this point in the history
  • Loading branch information
serhiy-storchaka committed Jun 19, 2020
1 parent 59cf853 commit a041e11
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Lib/test/test_modulefinder.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,10 +284,11 @@ def foo(): pass
# 0xe2 is not allowed in utf8
print('CP1252 test P\xe2t\xe9')
import b_utf8
""" + """\
b_utf8.py
# use the default of utf8
print('Unicode test A code point 2090 \u2090 that is not valid in cp1252')
"""]
""".encode('utf-8')]

def open_file(path):
dirname = os.path.dirname(path)
Expand Down

0 comments on commit a041e11

Please sign in to comment.