Skip to content

Commit 6bd383f

Browse files
committed
Fix test_utils.py
1 parent d46de1c commit 6bd383f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/test_utils.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111

1212

1313
compatibility_tests = [
14-
(sys.executable, sys.executable, True),
14+
# (sys.executable, sys.executable, True), # does not work, e.g., in conda
1515
(None, sys.executable, False),
1616
]
17-
if os.path.exists('/usr/bin/ls'): # mimics statically linked libpython
17+
if os.path.exists('/bin/ls'): # mimics statically linked libpython
1818
compatibility_tests.extend([
19-
(sys.executable, '/usr/bin/ls', False),
20-
('/usr/bin/ls', sys.executable, False),
19+
(sys.executable, '/bin/ls', False),
20+
('/bin/ls', sys.executable, False),
2121
])
2222

2323

0 commit comments

Comments
 (0)