Skip to content

Commit

Permalink
Filter out cast warnings in cast tests (#1824)
Browse files Browse the repository at this point in the history
Mac in particular is bad at handling warnings in pytest. #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ü <yaman.guclu@gmail.com>
  • Loading branch information
EmilyBourne and yguclu committed Apr 9, 2024
1 parent 5152d2b commit cdf045a
Show file tree
Hide file tree
Showing 2 changed files with 387 additions and 32 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -30,6 +30,7 @@ All notable changes to this project will be documented in this file.
### Changed
- #1720 : functions with the `@inline` decorator are no longer exposed to Python in the shared library.
- #1720 : Error raised when incompatible arguments are passed to an `inlined` function is now fatal.
- \[TESTS\] Filter out cast warnings in cast tests.
- \[INTERNALS\] `FunctionDef` is annotated when it is called, or at the end of the `CodeBlock` if it is never called.
- \[INTERNALS\] `InlinedFunctionDef` is only annotated if it is called.
- \[INTERNALS\] Build `utilities.metaclasses.ArgumentSingleton` on the fly to ensure correct docstrings.
Expand Down

0 comments on commit cdf045a

Please sign in to comment.