Skip to content

Commit

Permalink
Fix SpecifierSet for mda supported mda versions.
Browse files Browse the repository at this point in the history
Previously nojump test was passing but was expected to fail due to incorrect specifier set
  • Loading branch information
p-j-smith committed Sep 21, 2023
1 parent 847ac79 commit c69795d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_transformations.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
transformations,
)

mda_min_version = SpecifierSet(">2.6.1")
mda_supported_versions = SpecifierSet(">2.6.1", prereleases=True)


@pytest.mark.asyncio()
Expand Down Expand Up @@ -152,7 +152,7 @@ async def test_unwrap(app, universe_filenames: tuple[pathlib.Path, pathlib.Path]


@pytest.mark.xfail(
mda.__version__ not in mda_min_version,
mda.__version__ not in mda_supported_versions,
reason="bug in NoJump transformation is fixed in MDAnalysis >2.6.1",
strict=True,
)
Expand Down

0 comments on commit c69795d

Please sign in to comment.