Skip to content

Commit ea4d834

Browse files
committed
fix venv shared lib loading test for linux
1 parent 86c65d7 commit ea4d834

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

tests/venv_site_packages_libs/shared_lib_loading_test.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,7 @@ def test_shared_library_linking_unix(self):
5454
)
5555

5656
# Check that the module was loaded from the venv.
57-
# Use Path for platform-agnostic comparison, though this test is skipIf(os.name == "nt")
58-
actual_file = Path(ext_with_libs.adder.__file__).resolve()
59-
self.assertIn(".venv", actual_file.parts)
57+
self.assertIn(".venv/", ext_with_libs.adder.__file__)
6058

6159
adder_path = os.path.realpath(ext_with_libs.adder.__file__)
6260

0 commit comments

Comments
 (0)