Skip to content

Commit 10d7ae6

Browse files
committed
Skip some unsupported HPy tests for now
1 parent ab25ec6 commit 10d7ae6

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

graalpython/lib-graalpython/modules/hpy/test/test_argparse.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
to be able to use e.g. pytest.raises (which on PyPy will be implemented by a
3030
"fake pytest module")
3131
"""
32+
import pytest
3233
from .support import HPyTest
3334

3435

@@ -83,6 +84,8 @@ def test_b(self):
8384
"function unsigned byte integer is less than minimum"
8485
)
8586

87+
# TODO(fa): needs to be fixed
88+
@pytest.mark.skip
8689
def test_s(self):
8790
import pytest
8891
mod = self.make_parse_item("s", "const char*", "HPyUnicode_FromString")

graalpython/lib-graalpython/modules/hpy/test/test_hpytype.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -793,6 +793,7 @@ class Sub(mod.Dummy):
793793
pass
794794
assert isinstance(Sub(), mod.Dummy)
795795

796+
@pytest.mark.xfail
796797
def test_directly_setting_hpy_tpflags_internal_pure_raises(self):
797798
import pytest
798799
mod_src = """

0 commit comments

Comments
 (0)