Skip to content

Commit e6cc9bb

Browse files
committed
[test] Update tags using latest Cling stats
1 parent 870c295 commit e6cc9bb

File tree

6 files changed

+4
-9
lines changed

6 files changed

+4
-9
lines changed

test/test_advancedcpp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,7 @@ def test20_overload_order_with_proper_return(self):
688688
assert cppyy.gbl.overload_one_way().gime() == 1
689689
assert cppyy.gbl.overload_the_other_way().gime() == "aap"
690690

691-
@mark.xfail(run=not IS_VALGRIND, condition =(IS_LINUX and IS_CLING), reason="Fails on Linux Cling")
691+
@mark.xfail(condition=IS_LINUX and IS_CLING, reason="Fails on Linux + Cling")
692692
def test21_access_to_global_variables(self):
693693
"""Access global_variables_and_pointers"""
694694

test/test_datatypes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1153,7 +1153,7 @@ def test23_buffer_reshaping(self):
11531153
for i in range(self.N):
11541154
assert arr[i] == l[i]
11551155

1156-
@mark.xfail(condition=(IS_CLING), reason = "Fails on Cling")
1156+
@mark.xfail
11571157
def test24_voidp(self):
11581158
"""Test usage of void* data"""
11591159

test/test_lowlevel.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -762,8 +762,8 @@ def test05_char_multidim(self):
762762
for i, v in enumerate(("s1", "s23", "s456")):
763763
assert len(ns.str_array[i]) == 8
764764
assert list(ns.str_array[i])[:len(v)] == list(v)
765-
766-
@mark.xfail(condition=IS_CLING, reason="fails with cling")
765+
766+
@mark.xfail
767767
def test06_3D_custom_struct(self):
768768
import cppyy
769769
from cppyy import gbl

test/test_numba.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ def test01_instance_box_unbox(self):
2626
with raises(TypeError):
2727
cppyy.addressof('doesnotexist')
2828

29-
@mark.xfail
3029
def test02_method_reflection(self):
3130
"""Method reflection tooling"""
3231

@@ -51,7 +50,6 @@ class MyData_m1 {};
5150
assert ns.MyData_m1.__init__.__cpp_reflex__(r.RETURN_TYPE, r.AS_TYPE) == ns.MyData_m1
5251
assert ns.MyData_m1.__init__.__cpp_reflex__(r.RETURN_TYPE, r.AS_STRING) == 'ReflexTest::MyData_m1'
5352

54-
@mark.xfail
5553
def test03_datamember_reflection(self):
5654
"""Data member reflection tooling"""
5755

test/test_stltypes.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,6 @@ class Point3D {
702702

703703
assert cppsum == pysum
704704

705-
@mark.xfail(condition=IS_CLING, reason="Fails on Cling")
706705
def test20_vector_cstring(self):
707706
"""Usage of a vector of const char*"""
708707

test/test_templates.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,6 @@ def test07_type_deduction(self):
187187
assert issubclass(select_template_arg[0, int, float].argument, int)
188188
assert issubclass(select_template_arg[1, int, float].argument, float)
189189

190-
@mark.xfail
191190
def test08_using_of_static_data(self):
192191
"""Derived class using static data of base"""
193192

@@ -1467,7 +1466,6 @@ def setup_class(cls):
14671466
import cppyy
14681467
cls.templates = cppyy.load_reflection_info(cls.test_dct)
14691468

1470-
@mark.xfail
14711469
def test01_reduce_binary(self):
14721470
"""Squash template expressions for binary operations (like in gmpxx)"""
14731471

0 commit comments

Comments
 (0)