2 parents 8fa80b3 + 301195e commit e71fd49Copy full SHA for e71fd49
1 file changed
tests/check_added_large_files_test.py
@@ -1,4 +1,4 @@
1
-import distutils.spawn
+import shutil
2
3
import pytest
4
@@ -75,7 +75,7 @@ def test_integration(temp_git_dir):
75
76
77
def has_gitlfs():
78
- return distutils.spawn.find_executable('git-lfs') is not None
+ return shutil.which('git-lfs') is not None
79
80
81
xfailif_no_gitlfs = pytest.mark.xfail(
0 commit comments