소스 검색

Check local source directory before falling back to sysconfig

Jelmer Vernooij 3 달 전
부모
커밋
edbbd944cf
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      tests/__init__.py

+ 1 - 0
tests/__init__.py

@@ -71,6 +71,7 @@ class BlackboxTestCase(TestCase):
 
     # TODO(jelmer): Include more possible binary paths.
     bin_directories: ClassVar[list[str]] = [
+        os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "bin")),
         sysconfig.get_path("scripts"),
         "/usr/bin",
         "/usr/local/bin",