Skip to content

Commit cdf045a

Browse files
EmilyBourneyguclu
andauthored
Filter out cast warnings in cast tests (pyccel#1824)
Mac in particular is bad at handling warnings in pytest. pyccel#1762 introduced lots of warnings as it is testing casting between types. Such behaviour often raises warnings in NumPy. This PR deactivates those warnings for these specific tests thus speeding up the mac tests by ~x2 --------- Co-authored-by: Yaman Güçlü <[email protected]>
1 parent 5152d2b commit cdf045a

File tree

2 files changed

+387
-32
lines changed

2 files changed

+387
-32
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ All notable changes to this project will be documented in this file.
3030
### Changed
3131
- #1720 : functions with the `@inline` decorator are no longer exposed to Python in the shared library.
3232
- #1720 : Error raised when incompatible arguments are passed to an `inlined` function is now fatal.
33+
- \[TESTS\] Filter out cast warnings in cast tests.
3334
- \[INTERNALS\] `FunctionDef` is annotated when it is called, or at the end of the `CodeBlock` if it is never called.
3435
- \[INTERNALS\] `InlinedFunctionDef` is only annotated if it is called.
3536
- \[INTERNALS\] Build `utilities.metaclasses.ArgumentSingleton` on the fly to ensure correct docstrings.

0 commit comments

Comments
 (0)