diff --git a/noxfile.py b/noxfile.py index 3872b22..237735b 100644 --- a/noxfile.py +++ b/noxfile.py @@ -49,8 +49,9 @@ def lint(session): def test(session): """Run unit tests, produce coverage data.""" session.notify("report") - session.install("coverage[toml]", "pytest", ".") - session.run("coverage", "run", "-m", "pytest", "-vv", *session.posargs) + session.install("coverage[toml]", "pytest", "xdoctest", "pygments", ".") + session.run("coverage", "run", "-m", "pytest", "--xdoctest", "-vv", + *session.posargs) @nox.session(python=py_default)