Skip to content

Commit 8275f36

Browse files
committed
atests: Support interpreter path with '/' on Windows
1 parent 698fb2e commit 8275f36

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

atest/interpreter.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ def __init__(self, path, name=None, version=None):
3333
self.version_info = tuple(int(item) for item in version.split('.'))
3434

3535
def _get_interpreter(self, path):
36+
path = path.replace('/', os.sep)
3637
return [path] if os.path.exists(path) else path.split()
3738

3839
def _get_name_and_version(self):

0 commit comments

Comments
 (0)