|  | 
| 1 | 1 | import py, os, sys | 
| 2 | 2 | from pytest import raises, skip, mark | 
| 3 |  | -from .support import setup_make, pylong, pyunicode, IS_CLANG_REPL, IS_MAC_X86, IS_MAC_ARM | 
|  | 3 | +from .support import setup_make, pylong, pyunicode, IS_CLANG_REPL, IS_MAC_X86, IS_MAC_ARM, IS_MAC | 
| 4 | 4 | 
 | 
| 5 | 5 | IS_MAC = IS_MAC_X86 or IS_MAC_ARM | 
| 6 | 6 | 
 | 
| @@ -378,7 +378,7 @@ def test03_array_passing(self): | 
| 378 | 378 | 
 | 
| 379 | 379 |         c.__destruct__() | 
| 380 | 380 | 
 | 
| 381 |  | -    @mark.xfail | 
|  | 381 | +    @mark.xfail(condition= not(IS_CLANG_REPL), reason="Fails on with Cling") | 
| 382 | 382 |     def test04_class_read_access(self): | 
| 383 | 383 |         """Test read access to class public data and verify values""" | 
| 384 | 384 | 
 | 
| @@ -442,7 +442,7 @@ def test04_class_read_access(self): | 
| 442 | 442 | 
 | 
| 443 | 443 |         c.__destruct__() | 
| 444 | 444 | 
 | 
| 445 |  | -    @mark.xfail | 
|  | 445 | +    @mark.xfail(condition = not(IS_CLANG_REPL), reason="Fails on Cling") | 
| 446 | 446 |     def test05_class_data_write_access(self): | 
| 447 | 447 |         """Test write access to class public data and verify values""" | 
| 448 | 448 | 
 | 
| @@ -578,7 +578,7 @@ def test07_type_conversions(self): | 
| 578 | 578 | 
 | 
| 579 | 579 |         c.__destruct__() | 
| 580 | 580 | 
 | 
| 581 |  | -    @mark.xfail | 
|  | 581 | +    @mark.xfail(condition= IS_MAC, reason="Fails on OS X") | 
| 582 | 582 |     def test08_global_builtin_type(self): | 
| 583 | 583 |         """Test access to a global builtin type""" | 
| 584 | 584 | 
 | 
| @@ -1967,7 +1967,6 @@ def test38_plain_old_data(self): | 
| 1967 | 1967 |             assert len(f1.fPtrArr) == 3 | 
| 1968 | 1968 |             assert list(f1.fPtrArr) == [1., 2., 3] | 
| 1969 | 1969 | 
 | 
| 1970 |  | -    @mark.xfail(run=not IS_CLANG_REPL, reason="Crashes") | 
| 1971 | 1970 |     def test39_aggregates(self): | 
| 1972 | 1971 |         """Initializer construction of aggregates""" | 
| 1973 | 1972 | 
 | 
|  | 
0 commit comments