We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db51d15 commit 24c71a6Copy full SHA for 24c71a6
hypothesis-python/tests/numpy/test_floor_ceil.py
@@ -41,8 +41,9 @@ def test_our_floor_and_ceil_avoid_numpy_rounding(value):
41
f = floor(a)
42
c = ceil(a)
43
44
- assert type(f) == int
45
- assert type(c) == int
+ # Check *exact* type - we don't want to allow a subclass of int here
+ assert type(f) == int # noqa
46
+ assert type(c) == int # noqa
47
48
# Using math.floor or math.ceil for these values would give an incorrect result.
49
with warnings.catch_warnings():
0 commit comments