Skip to content

Commit

Permalink
nox: fix test runner
Browse files Browse the repository at this point in the history
Use the '-m tests' format instead of the deprecated
'./tests/runtests.py'
  • Loading branch information
enku committed Aug 30, 2024
1 parent ff57e53 commit 3d9b63d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
@nox.session(python=("3.11", "3.12", "3.13"))
def tests(session: nox.Session) -> None:
session.run("pdm", "install", "--dev", external=True)
session.run("pdm", "run", "coverage", "run", "./tests/runtests.py", external=True)
session.run("pdm", "run", "coverage", "run", "-m", "tests", external=True)

0 comments on commit 3d9b63d

Please sign in to comment.