Skip to content

Commit 7dd995b

Browse files
committed
maint(parsing): XFAIL tests in parsing
These tests started failing in CI most likely due to a change in the dependencies: sympy#20265 This commit marks the failing tests as XFAIL to unblock CI until a fix can be found.
1 parent cec0477 commit 7dd995b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

sympy/parsing/tests/test_c_parser.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from sympy.parsing.sym_expr import SymPyExpression
2-
from sympy.testing.pytest import raises
2+
from sympy.testing.pytest import raises, XFAIL
33
from sympy.external import import_module
44

55
cin = import_module('clang.cindex', import_kwargs = {'fromlist': ['cindex']})
@@ -151,6 +151,7 @@ def test_variable():
151151
)
152152

153153

154+
@XFAIL
154155
def test_int():
155156
c_src1 = 'int a = 1;'
156157
c_src2 = (
@@ -627,6 +628,7 @@ def test_int():
627628
)
628629

629630

631+
@XFAIL
630632
def test_float():
631633
c_src1 = 'float a = 1.0;'
632634
c_src2 = (
@@ -851,6 +853,7 @@ def test_float():
851853
)
852854

853855

856+
@XFAIL
854857
def test_bool():
855858
c_src1 = (
856859
'bool a = true, b = false;'
@@ -3317,6 +3320,7 @@ def test_binary_operators():
33173320
raises(NotImplementedError, lambda: SymPyExpression(c_src_raise5, 'c'))
33183321

33193322

3323+
@XFAIL
33203324
def test_var_decl():
33213325
c_src1 = (
33223326
'int b = 100;' + '\n' +

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy