Skip to content

Commit 00ac586

Browse files
Vipul-Cariappaaaronj0
authored andcommitted
1 parent c050931 commit 00ac586

File tree

4 files changed

+3
-7
lines changed

4 files changed

+3
-7
lines changed

test/test_datatypes.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1108,7 +1108,6 @@ def test21_object_validity(self):
11081108

11091109
assert not d2
11101110

1111-
@mark.xfail
11121111
def test22_buffer_shapes(self):
11131112
"""Correctness of declared buffer shapes"""
11141113

@@ -1170,7 +1169,6 @@ def test23_buffer_reshaping(self):
11701169
for i in range(self.N):
11711170
assert arr[i] == l[i]
11721171

1173-
@mark.xfail
11741172
def test24_voidp(self):
11751173
"""Test usage of void* data"""
11761174

@@ -1521,7 +1519,6 @@ def xyz(self):
15211519
d.execute = d.xyz
15221520
assert d.do_execute() == "xyz"
15231521

1524-
@mark.xfail
15251522
def test30_multi_dim_arrays_of_builtins(test):
15261523
"""Multi-dim arrays of builtins"""
15271524

test/test_doc_features.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -974,7 +974,6 @@ def test07_array_of_arrays(self):
974974
for j in range (NPIXELS):
975975
assert image_array[j] == i*NPIXELS+j
976976

977-
@mark.xfail
978977
def test08_voidptr_array(self):
979978
"""Example of access to array of void ptrs"""
980979

test/test_lowlevel.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import py, os, sys
22
from pytest import raises, skip, mark
3-
from .support import setup_make, pylong, pyunicode, IS_WINDOWS, ispypy, IS_CLANG_REPL, IS_MAC_ARM, IS_MAC_X86
3+
from .support import setup_make, pylong, pyunicode, IS_WINDOWS, ispypy, IS_CLANG_REPL, IS_MAC_ARM, IS_MAC_X86, IS_MAC
44

55
currpath = py.path.local(__file__).dirpath()
66
test_dct = str(currpath.join("datatypesDict"))
@@ -337,7 +337,7 @@ def test09_numpy_bool_array(self):
337337
x = np.array([True], dtype=bool)
338338
assert cppyy.gbl.convert_bool(x)
339339

340-
@mark.xfail(run=not((IS_MAC_ARM or IS_MAC_X86) and not IS_CLANG_REPL))
340+
@mark.xfail(run=False, condition=IS_MAC, reason="Crashes on OSX")
341341
def test10_array_of_const_char_star(self):
342342
"""Test passting of const char*[]"""
343343

test/test_stltypes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1090,7 +1090,7 @@ def test02_empty_list_type(self):
10901090
for arg in a:
10911091
pass
10921092

1093-
@mark.xfail
1093+
@mark.xfail(condition=not IS_CLANG_REPL and IS_MAC, reason="Fails on OSX with cling")
10941094
def test03_replacement_of_eq(self):
10951095
"""A global templated function should work as a method"""
10961096

0 commit comments

Comments
 (0)