Skip to content

Commit 80c0526

Browse files
committed
Set pytest to run in NPY_PROMOTION_STATE=weak_and_warn
1 parent c6d4fd9 commit 80c0526

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ dynamic = ["version"]
2323
dev = [
2424
"pytest >= 7.1.1",
2525
"pytest-xdist >= 2.5.0",
26+
"pytest-env >= 1.1.5",
2627
"pylint >= 2.13.7",
2728
"black >= 22.3.0",
2829
"sphinx >= 4.5.0",

pytest.ini

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[pytest]
2+
env =
3+
NPY_PROMOTION_STATE=weak_and_warn

0 commit comments

Comments
 (0)