Skip to content

Commit

Permalink
fix abi3 test
Browse files Browse the repository at this point in the history
  • Loading branch information
mayeut committed May 10, 2024
1 parent 0d88011 commit 744d37e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/test_abi_variants.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@

from . import test_projects, utils

pyproject_toml = r"""
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
"""

limited_api_project = test_projects.new_c_project(
setup_py_add=textwrap.dedent(
r"""
Expand All @@ -30,6 +36,8 @@ def get_tag(self):
setup_py_setup_args_add="cmdclass=cmdclass",
)

limited_api_project.files["pyproject.toml"] = pyproject_toml


def test_abi3(tmp_path):
project_dir = tmp_path / "project"
Expand Down Expand Up @@ -155,6 +163,8 @@ def test():
"""
)

ctypes_project.files["pyproject.toml"] = pyproject_toml


def test_abi_none(tmp_path, capfd):
project_dir = tmp_path / "project"
Expand Down

0 comments on commit 744d37e

Please sign in to comment.