From 7db64706bc12b4db6dcd6db8e28c4fcaab29af08 Mon Sep 17 00:00:00 2001 From: Brett Date: Wed, 9 Oct 2024 16:40:49 -0400 Subject: [PATCH] restrict abacusutils tests --- tox.ini | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index bdf22827e..9161ab209 100644 --- a/tox.ini +++ b/tox.ini @@ -338,7 +338,12 @@ commands_pre = pip install --no-build-isolation classy corrfunc pip install -e abacusutils[test] pip install -r {env_tmp_dir}/requirements.txt +# make an empty pytest.ini to prevent pytest from crawling up +# one directory and finding the pytest configuration for the asdf +# repo clone bash -c "echo '' > pytest.ini" pip freeze commands = - pytest abacusutils +# only running a subset of tests since only a portion of abacusutils +# relies on asdf + pytest abacusutils/tests/test_data.py