Skip to content

Commit 9aa048d

Browse files
committed
remove file extension in test
1 parent 16c22b9 commit 9aa048d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_importlib/import_/test_path.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def test_invalid_names_in_sys_path(self):
103103
(f'Top{os.sep}Mid\x00', 'path with embedded NUL bytes'),
104104
# A filename with surrogate codes. A UnicodeEncodeError is raised
105105
# by os.stat() upon querying, which is a subclass of ValueError.
106-
("\uD834\uDD1E.py", 'surrogate codes (MUSICAL SYMBOL G CLEF)'),
106+
("\uD834\uDD1E", 'surrogate codes (MUSICAL SYMBOL G CLEF)'),
107107
# For POSIX platforms, an OSError will be raised but for Windows
108108
# platforms, a ValueError is raised due to the path_t converter.
109109
# See: https://github.com/python/cpython/issues/122353

0 commit comments

Comments
 (0)