Skip to content

Commit e57343c

Browse files
committed
Re-enable two tests for subnormals
1 parent 0bf7c14 commit e57343c

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

hypothesis-python/tests/array_api/test_from_dtype.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,7 @@ def test_can_minimize_floats(xp, xps):
9595
{},
9696
{"min_value": -1},
9797
{"max_value": 1},
98-
pytest.param(
99-
{"min_value": -1, "max_value": 1},
100-
marks=pytest.mark.skip(
101-
reason="FixedBoundFloatStrategy(0, 1) rarely generates subnormals"
102-
),
103-
),
98+
{"min_value": -1, "max_value": 1},
10499
],
105100
)
106101
def test_subnormal_generation(xp, xps, kwargs):

hypothesis-python/tests/cover/test_subnormal_floats.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,7 @@ def test_subnormal_validation(kwargs):
6060
kw(allow_subnormal=True, max_value=1),
6161
kw(allow_subnormal=True, max_value=next_up(-float_info.min)),
6262
# min/max values
63-
kw(
64-
allow_subnormal=True,
65-
min_value=-1,
66-
max_value=1,
67-
marks=pytest.mark.skip(
68-
reason="FixedBoundFloatStrategy(0, 1) rarely generates subnormals"
69-
),
70-
),
63+
kw(allow_subnormal=True, min_value=-1, max_value=1),
7164
kw(
7265
allow_subnormal=True,
7366
min_value=next_down(float_info.min),

0 commit comments

Comments
 (0)