diff --git a/tasks.py b/tasks.py index 7d9ff1d9..41ac2bde 100644 --- a/tasks.py +++ b/tasks.py @@ -21,7 +21,7 @@ PRECOMMIT = ( @task def tests(c): """Run the test suite""" - c.run(f"{VENV}/bin/python -Wd -m unittest discover", pty=True) + c.run(f"{VENV}/bin/pytest", pty=True) @task