mirror of
https://github.com/python/cpython.git
synced 2024-12-12 11:23:56 +08:00
bpo-41040: Fix test_modulefinder. (GH-20991)
This commit is contained in:
parent
59cf853332
commit
a041e116db
@ -284,10 +284,11 @@ a_cp1252.py
|
|||||||
# 0xe2 is not allowed in utf8
|
# 0xe2 is not allowed in utf8
|
||||||
print('CP1252 test P\xe2t\xe9')
|
print('CP1252 test P\xe2t\xe9')
|
||||||
import b_utf8
|
import b_utf8
|
||||||
|
""" + """\
|
||||||
b_utf8.py
|
b_utf8.py
|
||||||
# use the default of utf8
|
# use the default of utf8
|
||||||
print('Unicode test A code point 2090 \u2090 that is not valid in cp1252')
|
print('Unicode test A code point 2090 \u2090 that is not valid in cp1252')
|
||||||
"""]
|
""".encode('utf-8')]
|
||||||
|
|
||||||
def open_file(path):
|
def open_file(path):
|
||||||
dirname = os.path.dirname(path)
|
dirname = os.path.dirname(path)
|
||||||
|
Loading…
Reference in New Issue
Block a user