Skip to content

Commit e7b29cd

Browse files
removing xfail on anonymous struct and union tests
fixed by compiler-research/CppInterOp#321
1 parent bccda1c commit e7b29cd

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/test_datatypes.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1558,7 +1558,6 @@ def test30_multi_dim_arrays_of_builtins(test):
15581558
p = (ctype * len(buf)).from_buffer(buf)
15591559
assert [p[j] for j in range(width*height)] == [2*j for j in range(width*height)]
15601560

1561-
@mark.xfail
15621561
def test31_anonymous_union(self):
15631562
"""Anonymous unions place there fields in the parent scope"""
15641563

@@ -1652,7 +1651,6 @@ def test31_anonymous_union(self):
16521651
assert type(p.data_c[0]) == float
16531652
assert p.intensity == 5.
16541653

1655-
@mark.xfail(condition=not IS_CLANG_REPL, reason="Fails on Cling")
16561654
def test32_anonymous_struct(self):
16571655
"""Anonymous struct creates an unnamed type"""
16581656

0 commit comments

Comments
 (0)