We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2b1190 commit ef21e28Copy full SHA for ef21e28
1 file changed
Lib/test/test_importlib/import_/test_path.py
@@ -101,7 +101,7 @@ def test_invalid_names_in_sys_path(self):
101
# embedded NUL characters raise ValueError in os.stat()
102
('\x00', 'NUL bytes path'),
103
(f'Top{os.sep}Mid\x00', 'path with embedded NUL bytes'),
104
- # A filename with surrogate codes. A UnicodeEncodeError is raised
+ # A directory with surrogate codes. A UnicodeEncodeError is raised
105
# by os.stat() upon querying, which is a subclass of ValueError.
106
("\uD834\uDD1E", 'surrogate codes (MUSICAL SYMBOL G CLEF)'),
107
# For POSIX platforms, an OSError will be raised but for Windows
0 commit comments