Skip to content

Commit 94281e6

Browse files
ptrojakanigsson
authored andcommitted
Use standard python implementation of which
Routine "which" from shutil appears to be faster, most likely because it pulls fewer dependencies that its e3.os.fs equivalent (that provides extra functionality that we don't need).
1 parent c13dea9 commit 94281e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testsuite/gnatprove/lib/python/test_support.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import re
99
import sys
1010
from time import sleep
11-
from e3.os.fs import which
11+
from shutil import which
1212
from e3.os.process import Run, STDOUT
1313
from test_util import sort_key_for_errors
1414

0 commit comments

Comments
 (0)