From e9c4875bdff4706d6f8e8ee6bcf1a1fc61c488ea Mon Sep 17 00:00:00 2001 From: Genevieve Buckley <30920819+GenevieveBuckley@users.noreply.github.com> Date: Thu, 23 Nov 2023 15:42:23 +1100 Subject: [PATCH] noxfile, should use or instead of and --- noxfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index b8d7e07d..692eba44 100644 --- a/noxfile.py +++ b/noxfile.py @@ -89,7 +89,7 @@ def tests(session: PowerSession, coverage, pkg_specs): # install all requirements session.install_reqs(setup=True, install=True, tests=True, versions_dct=pkg_specs) # Since our tests are currently limited, use our own doc generation as a test - if sys.platform != "win32" and (version.parse(session.python) < version.parse(PY38)): + if sys.platform != "win32" or (version.parse(session.python) < version.parse(PY38)): session.install_reqs(phase="tests", phase_reqs=MKDOCS_GALLERY_EXAMPLES_REQS+MKDOCS_GALLERY_EXAMPLES_MAYAVI_REQS) else: # We are having OpenGL issues installing mayavi on Windows, skip it