Skip to content

Commit

Permalink
....
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtylerwalls committed Jun 26, 2023
1 parent 64d649b commit bcced4b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_modutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,9 +269,10 @@ def test_std_lib(self) -> None:
)

def test_std_lib_found_before_same_named_package_on_path(self) -> None:
realpath = os.path.realpath(resources.RESOURCE_PATH)
realpath = str(resources.RESOURCE_PATH)
realpath_slashes = realpath.replace('\\', '\\\\')
if WIN32:
raise AssertionError(realpath)
raise AssertionError(realpath + realpath_slashes)
sys.path.insert(0, realpath)
self.addCleanup(sys.path.pop, 0)

Expand Down

0 comments on commit bcced4b

Please sign in to comment.