Skip to content

Commit

Permalink
Add test for graalpy ABI tag
Browse files Browse the repository at this point in the history
  • Loading branch information
msimacek committed Aug 21, 2023
1 parent 1a326a2 commit 507226a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_bdist_wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,12 @@ def test_get_abi_tag_new(monkeypatch):
assert get_abi_tag() == "pypy37_pp73"


def test_graalpy_abi_tag_new(monkeypatch):
monkeypatch.setattr(sysconfig, "get_config_var", lambda x: "graalpy231-310-native-x86_64-linux")
monkeypatch.setattr(tags, "interpreter_name", lambda: "graalpy")
assert get_abi_tag() == "graalpy231_310_native"


def test_platform_with_space(dummy_dist, monkeypatch):
"""Ensure building on platforms with a space in the name succeed."""
monkeypatch.chdir(dummy_dist)
Expand Down

0 comments on commit 507226a

Please sign in to comment.