Skip to content

Commit 301195e

Browse files
committed
use shutil.which instead of distutils.spawn
1 parent 8fa80b3 commit 301195e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/check_added_large_files_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import distutils.spawn
1+
import shutil
22

33
import pytest
44

@@ -75,7 +75,7 @@ def test_integration(temp_git_dir):
7575

7676

7777
def has_gitlfs():
78-
return distutils.spawn.find_executable('git-lfs') is not None
78+
return shutil.which('git-lfs') is not None
7979

8080

8181
xfailif_no_gitlfs = pytest.mark.xfail(

0 commit comments

Comments
 (0)