Skip to content

Commit

Permalink
Only run constraint check on Linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
lohedges committed Oct 14, 2024
1 parent 152ab02 commit dcc7164
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/convert/test_openmm_constraints.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,8 +458,12 @@ def test_auto_constraints(ala_mols, openmm_platform):
"openmm" not in sr.convert.supported_formats(),
reason="openmm support is not available",
)
@pytest.mark.skipif(
platform.system() != "Linux",
reason="XMLSerializer doesn't preserve precision on Windows and macOS",
)
def test_asymmetric_constraints(merged_ethane_methanol):
# Test that constraints are updated correctly when the end states have
# Check that constraints are updated correctly when the end states have
# different constraints.

from math import isclose
Expand Down

0 comments on commit dcc7164

Please sign in to comment.