Skip to content

Commit

Permalink
noxfile, should use or instead of and
Browse files Browse the repository at this point in the history
  • Loading branch information
GenevieveBuckley committed Nov 23, 2023
1 parent b2c8729 commit e9c4875
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e9c4875

Please sign in to comment.