Skip to content

Commit

Permalink
Remove platform test that doesn't make sense any more.
Browse files Browse the repository at this point in the history
  • Loading branch information
freakboy3742 committed Oct 22, 2024
1 parent 09dcce5 commit b980775
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions tests/test_python_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,3 @@ else # not virtualenv
ingest "Wrong macpython or pypy pip '$PIP_CMD'"
fi
fi

# check macOS version and arch are as expected
distutils_plat=$($PYTHON_EXE -c "import distutils.util; print(distutils.util.get_platform())")
expected_arch=$(macpython_arch_for_version $MB_PYTHON_VERSION)
if [[ $requested_impl == 'cp' ]]; then
expected_tag="macosx-$MB_PYTHON_OSX_VER-$expected_arch"
else
expected_tag="macosx-10.[0-9]+-$expected_arch"
fi
[[ $distutils_plat =~ $expected_tag ]] || ingest

0 comments on commit b980775

Please sign in to comment.