Skip to content

Commit d794c15

Browse files
committed
Enable C assertions in unit tests
1 parent a8fdee7 commit d794c15

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: tox.ini

+4-1
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,11 @@ requires =
1010
isolated_build = true
1111

1212
[testenv]
13-
# Suppress display of matplotlib plots generated during docs build
1413
setenv =
14+
# Enable assertions
15+
CFLAGS=-UNDEBUG
16+
17+
# Suppress display of matplotlib plots generated during docs build
1518
MPLBACKEND=agg
1619

1720
devdeps: PIP_EXTRA_INDEX_URL = https://pypi.anaconda.org/astropy/simple https://pypi.anaconda.org/liberfa/simple https://pypi.anaconda.org/scientific-python-nightly-wheels/simple

0 commit comments

Comments
 (0)