From 983d3071f07c2c7d9183da6aabaec2fe7d7a0162 Mon Sep 17 00:00:00 2001 From: Richard Tibbles Date: Tue, 2 Jul 2024 14:35:57 -0700 Subject: [PATCH] Remove unused coverage reporting which seems to break on newer versions of Python. --- requirements/test.txt | 2 -- tox.ini | 6 +++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/requirements/test.txt b/requirements/test.txt index ff49bc1..80c9409 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -1,10 +1,8 @@ # These are for testing factory-boy==2.7.0 fake-factory==0.5.7 -coverage==6.2 mock==2.0.0 pytest==6.2.5 -pytest-cov==3.0.0 pytest-django==4.5.2 more-itertools<=8.10.0 typing diff --git a/tox.ini b/tox.ini index 12c95d0..5b64f89 100644 --- a/tox.ini +++ b/tox.ini @@ -28,7 +28,7 @@ deps = cryptography40.0.2: cryptography==40.0.2 commands = sh -c 'tests/testapp/manage.py makemigrations --check' - python -O -m pytest {posargs:--cov=morango --color=no} + python -O -m pytest {posargs: --color=no} [testenv:postgres] deps = @@ -38,7 +38,7 @@ setenv = PYTHONPATH = {toxinidir}:{toxinidir}/tests/testapp DJANGO_SETTINGS_MODULE = testapp.postgres_settings commands = - python -O -m pytest {posargs:--cov=morango --color=no} + python -O -m pytest {posargs: --color=no} [testenv:windows] deps = @@ -46,4 +46,4 @@ deps = setenv = PYTHONPATH = {toxinidir}{:}{toxinidir}/tests/testapp commands = - python -O -m pytest {posargs:--cov=morango --color=no} -m windows + python -O -m pytest {posargs: --color=no} -m windows