Skip to content

Commit

Permalink
Revert "Skip building c-extensions if python is running in build tree"
Browse files Browse the repository at this point in the history
This reverts commit 77c1c93.
  • Loading branch information
lazka authored and naveen521kk committed Jun 24, 2022
1 parent e31e5e0 commit 2ff76a3
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions mingw_smoketests.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,13 +233,6 @@ def test_c_ext_build(self):
import textwrap
from pathlib import Path

if sysconfig.is_python_build():
# we are running this test without installing and is known
# to cause errors with building c-extensions
# so we are skipping this test
raise unittest.SkipTest("Skipping test as building c-extension isn't supported \
without installing python")

with tempfile.TemporaryDirectory() as tmppro:
subprocess.check_call([sys.executable, "-m", "ensurepip", "--user"])
with Path(tmppro, "setup.py").open("w") as f:
Expand Down

0 comments on commit 2ff76a3

Please sign in to comment.