We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c310ecb commit 4f4c799Copy full SHA for 4f4c799
Lib/test/test_support.py
@@ -777,7 +777,9 @@ def test_copy_python_src_ignore(self):
777
if not os.path.exists(src_dir):
778
self.skipTest(f"cannot access Python source code directory:"
779
f" {src_dir!r}")
780
- landmark = os.path.join(src_dir, 'Lib', 'os.py')
+ # Check that the landmark copy_python_src_ignore() expects is available
781
+ # (Previously we looked for 'Lib\os.py', which is always present on Windows.)
782
+ landmark = os.path.join(src_dir, 'Modules')
783
if not os.path.exists(landmark):
784
785
f" {landmark!r} landmark is missing")
0 commit comments