File tree Expand file tree Collapse file tree 6 files changed +3
-12
lines changed Expand file tree Collapse file tree 6 files changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -661,7 +661,6 @@ def test09_global_ptr(self):
661661 assert gbl .g_pod .m_int == 43
662662 assert gbl .g_pod .m_double == 2.14
663663
664- @mark .xfail
665664 def test10_enum (self ):
666665 """Test access to enums"""
667666
@@ -781,7 +780,6 @@ class Test {
781780 assert type (sc .vraioufaux .faux ) == bool # no bool as base class
782781 assert isinstance (sc .vraioufaux .faux , bool )
783782
784- @mark .xfail
785783 def test12_enum_scopes (self ):
786784 """Enum accessibility and scopes"""
787785
Original file line number Diff line number Diff line change @@ -200,7 +200,6 @@ def test_casting(self):
200200 e = bind_object (addressof (d ), Abstract )
201201 assert type (e ) == cppyy .gbl .Abstract
202202
203- @mark .xfail (condition = IS_CLANG_REPL , reason = "Fails with ClangRepl" )
204203 def test_classes_and_structs (self ):
205204 import cppyy
206205 from cppyy .gbl import Concrete , Namespace
@@ -939,7 +938,6 @@ def test06_c_char_p(self):
939938 val = createit (ptr )
940939 assert destroyit (ptr ) == val
941940
942- @mark .xfail
943941 def test07_array_of_arrays (self ):
944942 """Example of array of array usage"""
945943
Original file line number Diff line number Diff line change @@ -284,7 +284,6 @@ def test11_dir(self):
284284
285285 assert 'operator<' not in dirS
286286
287- @mark .xfail (condition = IS_CLANG_REPL , reason = "Fails with ClangRepl" )
288287 def test12_imports (self ):
289288 """Test ability to import from namespace (or fail with ImportError)"""
290289
Original file line number Diff line number Diff line change @@ -32,7 +32,6 @@ def test01_llv_type(self):
3232
3333 assert cppyy .types .LowLevelView
3434
35- @mark .xfail
3635 def test02_builtin_cpp_casts (self ):
3736 """C++ casting of builtin types"""
3837
Original file line number Diff line number Diff line change @@ -1909,7 +1909,6 @@ def setup_class(cls):
19091909 import cppyy
19101910 cls .stltypes = cppyy .load_reflection_info (cls .test_dct )
19111911
1912- @mark .xfail (condition = IS_CLANG_REPL , reason = "Fails with ClangRepl" )
19131912 def test01_basics (self ):
19141913 """Test behavior of std::exception derived classes"""
19151914
@@ -1950,7 +1949,7 @@ def test01_basics(self):
19501949 assert YourError .__cpp_name__ == 'ErrorNamespace::YourError'
19511950 assert YourError .__module__ == 'cppyy.gbl.ErrorNamespace'
19521951
1953- @mark .xfail (condition = IS_MAC or ( IS_LINUX and IS_CLANG_REPL ) , reason = "Fails on OS X" )
1952+ @mark .xfail (condition = IS_MAC , reason = "Fails on OS X" )
19541953 def test02_raising (self ):
19551954 """Raise a C++ std::exception derived class as a Python excption"""
19561955
@@ -1987,7 +1986,7 @@ def raiseit(cls):
19871986 except cppyy .gbl .YourError as e :
19881987 assert e .what () == 'Oops'
19891988
1990- @mark .xfail (condition = (IS_CLANG_REPL ) or (( IS_MAC_ARM or IS_MAC_X86 ) and ( not IS_CLANG_REPL )) , reason = "Fails with ClangRepl and OS X Cling " )
1989+ @mark .xfail (condition = (IS_MAC_ARM or IS_MAC_X86 ), reason = "Fails with OS X" )
19911990 def test03_memory (self ):
19921991 """Memory handling of C++ c// helper for exception base class testing"""
19931992
Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ def test04_variadic_function(self):
146146
147147 assert cppyy .gbl .test04_variadic_func ['int' , 'double' , 'void*' ]() == 3
148148
149- @mark .xfail
149+ @mark .xfail ( condition = not IS_CLANG_REPL , reason = "Fails with Cling" )
150150 def test05_variadic_overload (self ):
151151 """Call an overloaded variadic function"""
152152
@@ -342,7 +342,6 @@ def test13_using_templated_method(self):
342342 assert type (d .get3 ()) == int
343343 assert d .get3 () == 5
344344
345- @mark .xfail (condition = IS_CLANG_REPL , reason = "Fails on Clang-REPL" )
346345 def test14_templated_return_type (self ):
347346 """Use of a templated return type"""
348347
@@ -565,7 +564,6 @@ def test21_type_deduction_with_conversion(self):
565564 assert l2v .test3 [int ]([d1 ]) == 1
566565 assert l2v .test3 [int ]([d1 , d1 ]) == 2
567566
568- @mark .xfail (condition = IS_CLANG_REPL , reason = "Fails on Clang-REPL" )
569567 def test22_type_deduction_of_proper_integer_size (self ):
570568 """Template type from integer arg should be big enough"""
571569
You can’t perform that action at this time.
0 commit comments