Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e266312 commit c10dbfaCopy full SHA for c10dbfa
1 file changed
runtests.py
@@ -53,15 +53,17 @@
53
54
55
def run_tests_exe(executable, verbose, tested):
56
- executable = os.path.realpath(executable)
57
- if executable in tested:
+ tested_key = os.path.realpath(executable)
+ if tested_key in tested:
58
return
59
60
+ # Don't use realpath() for the executed command to support virtual
61
+ # environments
62
cmd = [executable, TEST_COMPAT]
63
if verbose:
64
cmd.append('-v')
65
run_command(cmd)
- tested.add(executable)
66
+ tested.add(tested_key)
67
68
69
def run_tests(python, verbose, tested):
0 commit comments