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