Skip to content

Commit 0fb3fcd

Browse files
committed
Also replace this distutils use.
1 parent d9df28c commit 0fb3fcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_holdup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ def test_eval_falsey(testdir):
253253

254254

255255
def test_eval_distutils(testdir, extra):
256-
result = testdir.run("holdup", 'eval://__import__("distutils.spawn").spawn.find_executable("find")', *extra)
256+
result = testdir.run("holdup", 'eval://__import__("shutil").which("find")', *extra)
257257
if extra:
258258
result.stdout.fnmatch_lines(["success !"])
259259
assert result.ret == 0

0 commit comments

Comments
 (0)