8000 bpo-41040: Fix test_modulefinder. (GH-20991) · python/cpython@80651ab · GitHub
[go: up one dir, main page]

Skip to content

Commit 80651ab

Browse files
bpo-41040: Fix test_modulefinder. (GH-20991)
(cherry picked from commit a041e11) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
1 parent ec9bc2d commit 80651ab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Lib/test/test_modulefinder.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,10 +284,11 @@ def foo(): pass
284284
# 0xe2 is not allowed in utf8
285285
print('CP1252 test P\xe2t\xe9')
286286
import b_utf8
287+
""" + """\
287288
b_utf8.py
288289
# use the default of utf8
289290
print('Unicode test A code point 2090 \u2090 that is not valid in cp1252')
290-
"""]
291+
""".encode('utf-8')]
291292

292293
def open_file(path):
293294
dirname = os.path.dirname(path)

0 commit comments

Comments
 (0)
0