From f71ca83373bcf7801a436395859f9fd5876d2a71 Mon Sep 17 00:00:00 2001 From: "Bob \"Wombat\" Hogg" Date: Mon, 21 Nov 2022 16:59:49 -0500 Subject: [PATCH] chore(nox): Remove Py2-only condition (#839) We only support Python 3.x now, so this condition is now always true --- noxfile.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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")