Skip to content

Commit

Permalink
Disable numba JIT compilations and supress overflow warning when runn…
Browse files Browse the repository at this point in the history
…ing tests.
  • Loading branch information
MetinSa committed Oct 6, 2022
1 parent a00751c commit 387532e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,5 @@ overrides = [
[tool.pytest.ini_options]
filterwarnings = [
"ignore::UserWarning",
"ignore:.*overflow encountered in expm1.*",
]
4 changes: 4 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import os

# Disable jit compilations when running tests
os.environ["NUMBA_DISABLE_JIT"] = "1"

0 comments on commit 387532e

Please sign in to comment.