Skip to content

Commit 524ebc6

Browse files
committed
Set pytest --confcutdir for compat tests
Add --confcutdir=tests/compat to the pytest command in tox.ini for the dlclive compatibility test. This forces pytest to stop config discovery at the tests/compat directory so the compat tests run with their intended configuration and aren't affected by higher-level pytest configs.
1 parent 16e8b27 commit 524ebc6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ deps =
7575
git+https://github.com/DeepLabCut/DeepLabCut-live.git@main
7676
commands =
7777
python -c "import dlclive, importlib.metadata; print('dlclive:', dlclive.__file__); print('version:', importlib.metadata.version('deeplabcut-live'))"
78-
pytest -m dlclive_compat tests/compat/test_dlclive_package_compat.py -q
78+
pytest --confcutdir=tests/compat tests/compat/test_dlclive_package_compat.py -q
7979

8080
[gh-actions]
8181
python =

0 commit comments

Comments
 (0)