Skip to content

Commit bcced4b

Browse files
....
1 parent 64d649b commit bcced4b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/test_modutils.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -269,9 +269,10 @@ def test_std_lib(self) -> None:
269269
)
270270

271271
def test_std_lib_found_before_same_named_package_on_path(self) -> None:
272-
realpath = os.path.realpath(resources.RESOURCE_PATH)
272+
realpath = str(resources.RESOURCE_PATH)
273+
realpath_slashes = realpath.replace('\\', '\\\\')
273274
if WIN32:
274-
raise AssertionError(realpath)
275+
raise AssertionError(realpath + realpath_slashes)
275276
sys.path.insert(0, realpath)
276277
self.addCleanup(sys.path.pop, 0)
277278

0 commit comments

Comments
 (0)