mirror of https://github.com/tqdm/tqdm.git
tests: fix nbval DeprecationWarning
This commit is contained in:
parent
47b9227f45
commit
0a439b5289
4
Makefile
4
Makefile
|
@ -61,11 +61,11 @@ testsetup:
|
||||||
@make help
|
@make help
|
||||||
|
|
||||||
testnb:
|
testnb:
|
||||||
pytest tests_notebook.ipynb --cov=tqdm.notebook --cov-report=term -W=ignore --nbval --current-env --sanitize-with=.meta/nbval.ini
|
pytest tests_notebook.ipynb --cov=tqdm.notebook --cov-report=term -W=ignore --nbval --nbval-current-env --nbval-sanitize-with=.meta/nbval.ini
|
||||||
|
|
||||||
testcoverage:
|
testcoverage:
|
||||||
@make coverclean
|
@make coverclean
|
||||||
pytest tests_notebook.ipynb --cov=tqdm --cov-report= -W=ignore --nbval --current-env --sanitize-with=.meta/nbval.ini
|
pytest tests_notebook.ipynb --cov=tqdm --cov-report= -W=ignore --nbval --nbval-current-env --nbval-sanitize-with=.meta/nbval.ini
|
||||||
pytest -k "not perf" --cov=tqdm --cov-report=xml --cov-report=term --cov-append --cov-fail-under=80
|
pytest -k "not perf" --cov=tqdm --cov-report=xml --cov-report=term --cov-append --cov-fail-under=80
|
||||||
|
|
||||||
testperf:
|
testperf:
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -49,7 +49,7 @@ deps=
|
||||||
tf: tensorflow!=2.5.0
|
tf: tensorflow!=2.5.0
|
||||||
keras: keras
|
keras: keras
|
||||||
commands=
|
commands=
|
||||||
pytest --cov=tqdm --cov-report= -W=ignore tests_notebook.ipynb --nbval --current-env --sanitize-with=.meta/nbval.ini
|
pytest --cov=tqdm --cov-report= -W=ignore tests_notebook.ipynb --nbval --nbval-current-env --nbval-sanitize-with=.meta/nbval.ini
|
||||||
pytest --cov=tqdm --cov-report=xml --cov-report=term --cov-append -k "not perf"
|
pytest --cov=tqdm --cov-report=xml --cov-report=term --cov-append -k "not perf"
|
||||||
{[core]commands}
|
{[core]commands}
|
||||||
allowlist_externals=codacy
|
allowlist_externals=codacy
|
||||||
|
|
Loading…
Reference in New Issue