Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove script path in PlatformTests #4381

Merged
merged 1 commit into from
Jul 21, 2023

Commits on Jul 20, 2023

  1. Remove script path in PlatformTests

    For Python 3.12+, cpython module "posixpath" test-imports 'posix',
    expecting it to fail on win32. However, for this one test program,
    since it's in SCons/Platform, that directory as the "script path"
    is in sys.path, and it finds our "posix" module, thus breaking things.
    This removes that element from the path - it's not put back because
    we don't actually need it here.
    
    Fixes SCons#4376
    
    Signed-off-by: Mats Wichmann <mats@linux.com>
    mwichmann committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    10f92a6 View commit details
    Browse the repository at this point in the history