Skip to content

Commit

Permalink
xfail test_spheropolyhedron.py::to_hoomd (#232)
Browse files Browse the repository at this point in the history
* Update test_spheropolyhedron.py

* Xfail to_hoomd
  • Loading branch information
janbridley authored Jul 18, 2024
1 parent 92bce83 commit 51b1232
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_spheropolyhedron.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from hypothesis import given, settings
from hypothesis.strategies import floats

from conftest import make_sphero_cube, named_catalan_mark
from conftest import make_sphero_cube
from coxeter.shapes import ConvexSpheropolyhedron


Expand Down Expand Up @@ -143,8 +143,8 @@ def test_repr():
assert str(sphero_cube), str(eval(repr(sphero_cube)))


@given(r=floats(0.01, 1))
@named_catalan_mark
@pytest.mark.xfail(reason="Maximum rounding radius is shape-dependent.")
@given(r=floats(0.01, 1.0))
def test_to_hoomd(poly, r):
poly.centroid = [0, 0, 0]
poly = ConvexSpheropolyhedron(poly.vertices, r)
Expand Down

0 comments on commit 51b1232

Please sign in to comment.