diff --git a/noxfile.py b/noxfile.py index cd4e87b8..4fd29a47 100644 --- a/noxfile.py +++ b/noxfile.py @@ -68,8 +68,7 @@ def unit(session): run_args.append(get_path("tests", "unit")) session.run(*run_args) - # Do not run cover session for Python 2, or it will fail - if not session.posargs and session.python[0] != "2": + if not session.posargs: session.notify("cover")