bpo-41040: Fix test_modulefinder. (GH-20991)

(cherry picked from commit a041e116db)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
This commit is contained in:
Miss Islington (bot) 2020-06-19 14:26:00 -07:00 committed by GitHub
parent 1529322ca6
commit 75238869b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -284,10 +284,11 @@ a_cp1252.py
# 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)