File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
graalpython/com.oracle.graal.python.hpy.test/src/hpytest Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -319,8 +319,10 @@ def foo(self, value):
319
319
mod .f (b )
320
320
assert b .foo is True
321
321
322
- def test_delattr (self ):
322
+ def test_delattr (self , hpy_abi ):
323
323
import pytest
324
+ if hpy_abi == "cpython" :
325
+ pytest .skip ("delattr not supported on GraalPy" )
324
326
mod = self .make_module ("""
325
327
HPyDef_METH(del_foo, "del_foo", HPyFunc_O)
326
328
static HPy del_foo_impl(HPyContext *ctx, HPy self, HPy arg)
@@ -401,8 +403,10 @@ def set_foo(obj):
401
403
with pytest .raises (AttributeError ):
402
404
c .foo
403
405
404
- def test_delattr_s (self ):
406
+ def test_delattr_s (self , hpy_abi ):
405
407
import pytest
408
+ if hpy_abi == "cpython" :
409
+ pytest .skip ("delattr not supported on GraalPy" )
406
410
mod = self .make_module ("""
407
411
HPyDef_METH(del_foo, "del_foo", HPyFunc_O)
408
412
static HPy del_foo_impl(HPyContext *ctx, HPy self, HPy arg)
You can’t perform that action at this time.
0 commit comments