We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 660bf92 commit 4a74654Copy full SHA for 4a74654
tests/test_modutils.py
@@ -275,7 +275,8 @@ def test_std_lib_found_before_same_named_package_on_path(self) -> None:
275
sys_path = str(sys.path)
276
277
file = modutils.file_from_modpath(["copy"])
278
- raise AssertionError('\n'.join(resource, sys_path, file))
+ if WIN32:
279
+ raise AssertionError('\n'.join(resource, sys_path, file))
280
self.assertNotIn("test", file) # tests/testdata/python3/data/copy.py
281
self.assertTrue(any(stdlib in file for stdlib in modutils.STD_LIB_DIRS))
282
0 commit comments