We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d87217f commit a95e8cfCopy full SHA for a95e8cf
Lib/test/test_support.py
@@ -789,7 +789,9 @@ def test_copy_python_src_ignore(self):
789
if not os.path.exists(src_dir):
790
self.skipTest(f"cannot access Python source code directory:"
791
f" {src_dir!r}")
792
- landmark = os.path.join(src_dir, 'Lib', 'os.py')
+ # Check that the landmark copy_python_src_ignore() expects is available
793
+ # (Previously we looked for 'Lib\os.py', which is always present on Windows.)
794
+ landmark = os.path.join(src_dir, 'Modules')
795
if not os.path.exists(landmark):
796
797
f" {landmark!r} landmark is missing")
0 commit comments