Skip to content

Commit 60f88f7

Browse files
committed
Skip ccode,fcode,cxxcode printing submodule shims in the doctests
Otherwise they break the codegen doctests, because they make sympy.printing.ccode, etc. point to the module instead of the function.
1 parent 40fa998 commit 60f88f7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sympy/testing/runtests.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -675,6 +675,9 @@ def _get_doctest_blacklist():
675675
"sympy/matrices/densearith.py", # raises deprecation warning
676676
"sympy/matrices/densesolve.py", # raises deprecation warning
677677
"sympy/matrices/densetools.py", # raises deprecation warning
678+
"sympy/printing/ccode.py", # backwards compatibility shim, importing it breaks the codegen doctests
679+
"sympy/printing/fcode.py", # backwards compatibility shim, importing it breaks the codegen doctests
680+
"sympy/printing/cxxcode.py", # backwards compatibility shim, importing it breaks the codegen doctests
678681
"sympy/parsing/autolev/_antlr/autolevlexer.py", # generated code
679682
"sympy/parsing/autolev/_antlr/autolevparser.py", # generated code
680683
"sympy/parsing/autolev/_antlr/autolevlistener.py", # generated code

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