We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6364873 commit 20bc5f7Copy full SHA for 20bc5f7
Lib/test/test_support.py
@@ -812,7 +812,9 @@ def test_copy_python_src_ignore(self):
812
if not os.path.exists(src_dir):
813
self.skipTest(f"cannot access Python source code directory:"
814
f" {src_dir!r}")
815
- landmark = os.path.join(src_dir, 'Lib', 'os.py')
+ # Check that the landmark copy_python_src_ignore() expects is available
816
+ # (Previously we looked for 'Lib\os.py', which is always present on Windows.)
817
+ landmark = os.path.join(src_dir, 'Modules')
818
if not os.path.exists(landmark):
819
820
f" {landmark!r} landmark is missing")
0 commit comments