Skip to content

Commit ef21e28

Browse files
committed
fixup! comment
1 parent b2b1190 commit ef21e28

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
@@ -101,7 +101,7 @@ def test_invalid_names_in_sys_path(self):
101101
# embedded NUL characters raise ValueError in os.stat()
102102
('\x00', 'NUL bytes path'),
103103
(f'Top{os.sep}Mid\x00', 'path with embedded NUL bytes'),
104-
# A filename with surrogate codes. A UnicodeEncodeError is raised
104+
# A directory with surrogate codes. A UnicodeEncodeError is raised
105105
# by os.stat() upon querying, which is a subclass of ValueError.
106106
("\uD834\uDD1E", 'surrogate codes (MUSICAL SYMBOL G CLEF)'),
107107
# For POSIX platforms, an OSError will be raised but for Windows

0 commit comments

Comments
 (0)