Skip to content

Commit

Permalink
noxfile, fix up if/then logic
Browse files Browse the repository at this point in the history
  • Loading branch information
GenevieveBuckley committed Nov 23, 2023
1 parent ba986c1 commit b60c294
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 @@ -99,7 +99,7 @@ def tests(session: PowerSession, coverage, pkg_specs):
with open("mkdocs.yml", "r") as f:
mkdocs_config = f.readlines()
# Ignore failing mayavi example where mayavi is not installed
if sys.platform != "win32" and (version.parse(session.python) >= version.parse(PY38)):
if sys.platform == "win32" or (version.parse(session.python) >= version.parse(PY38)):
# Add plot_10_mayavi.py to the list of expected failures
with open("mkdocs-no-mayavi.yml", "w") as f:
for line in mkdocs_config:
Expand Down

0 comments on commit b60c294

Please sign in to comment.