Skip to content

Commit

Permalink
Linter update
Browse files Browse the repository at this point in the history
  • Loading branch information
Zac-HD committed Aug 12, 2023
1 parent db51d15 commit 24c71a6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions hypothesis-python/tests/numpy/test_floor_ceil.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,9 @@ def test_our_floor_and_ceil_avoid_numpy_rounding(value):
f = floor(a)
c = ceil(a)

assert type(f) == int
assert type(c) == int
# Check *exact* type - we don't want to allow a subclass of int here
assert type(f) == int # noqa
assert type(c) == int # noqa

# Using math.floor or math.ceil for these values would give an incorrect result.
with warnings.catch_warnings():
Expand Down

0 comments on commit 24c71a6

Please sign in to comment.