Skip to content

Commit 8a0bede

Browse files
[WIP] tmp
1 parent 034e445 commit 8a0bede

File tree

5 files changed

+12
-7
lines changed

5 files changed

+12
-7
lines changed

test/test_advancedcpp.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ def test19_comparator(self):
679679
assert a.__eq__(a) == False
680680
assert b.__eq__(b) == False
681681

682-
@mark.xfail(reason="Behaviour dependent on order of overload definition")
682+
# @mark.xfail(reason="Behaviour dependent on order of overload definition")
683683
def test20_overload_order_with_proper_return(self):
684684
"""Test return type against proper overload w/ const and covariance"""
685685

@@ -786,7 +786,7 @@ def test24_typedef_to_private_class(self):
786786

787787
assert cppyy.gbl.TypedefToPrivateClass().f().m_val == 42
788788

789-
@mark.xfail(run=False, reason="Crashes")
789+
@mark.xfail(reason="Crashes")
790790
def test25_ostream_printing(self):
791791
"""Mapping of __str__ through operator<<(ostream&)"""
792792

test/test_crossinheritance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def setup_class(cls):
1515
import cppyy
1616
cls.example01 = cppyy.load_reflection_info(cls.test_dct)
1717

18-
@mark.xfail(run=not (IS_CLANG_DEBUG or IS_CLING), reason="Crashes with ClangRepl with 'toString not implemented' and on Cling")
18+
@mark.xfail(reason="Crashes with ClangRepl with 'toString not implemented' and on Cling")
1919
def test01_override_function(self):
2020
"""Test ability to override a simple function"""
2121

test/test_doc_features.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -987,7 +987,7 @@ def test08_voidptr_array(self):
987987
assert n.p[2] == 0x3
988988
assert len(n.p) == 3
989989

990-
@mark.xfail(condition=(IS_CLANG_REPL and IS_MAC), run=False, reason="Crashes with ClangRepl with 'toString not implemented'")
990+
# @mark.xfail(condition=(IS_CLANG_REPL and IS_MAC), run=False, reason="Crashes with ClangRepl with 'toString not implemented'")
991991
def test09_custom_str(self):
992992
"""Example of customized str"""
993993

test/test_overloads.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ class E: public D {};
289289
assert ns.myfunc2(ns.E()) == "E"
290290
assert ns.myfunc2(ns.D()) == "D"
291291

292+
@mark.xfail(reason="backport from ROOT")
292293
def test14_disallow_functor_to_function_pointer(self):
293294
"""Make sure we're no allowing to convert C++ functors to funciton
294295
pointers, extending the C++ language in an unnatural way that can lead

test/test_regression.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,12 @@ class TestREGRESSION:
99
def setup_class(cls):
1010
import cppyy
1111

12-
def stringpager(text, cls=cls):
13-
cls.helpout.append(text)
12+
if sys.hexversion < 0x30d0000:
13+
def stringpager(text, cls=cls):
14+
cls.helpout.append(text)
15+
else:
16+
def stringpager(text, title='', cls=cls):
17+
cls.helpout.append(text)
1418

1519
import pydoc
1620
pydoc.pager = stringpager
@@ -1007,7 +1011,7 @@ class ReferenceWavefunction {};
10071011
pt_type = cppyy.gbl.property_types.ReferenceWavefunction['double']
10081012
assert cppyy.gbl.std.get[0](cppyy.gbl.property_types.run_as[pt_type]()) == 20.
10091013

1010-
@mark.xfail(run=False, reason="Crashes on ClangRepl with 'toString not implemented', and on Cling")
1014+
# @mark.xfail(run=False, reason="Crashes on ClangRepl with 'toString not implemented', and on Cling")
10111015
def test34_print_empty_collection(self):
10121016
"""Print empty collection through Cling"""
10131017

0 commit comments

Comments
 (0)