Skip to content

Commit

Permalink
TST: Remove FPE fill special case after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
seberg committed Jun 13, 2022
1 parent 7e6d8ef commit a546ee1
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions numpy/core/tests/test_casting_floatingpoint_errors.py
Expand Up @@ -64,16 +64,11 @@ def assignment():

yield assignment

# TODO: This constraint is a bug in arr.fill() and should be removed
# e.g. by gh-20924. The type check works around the fact that
# PyPy seems to create an "invalid" error itself, and we see it
# due to gh-21416.
if type(value) is int and value != 10**100:
def fill():
arr = np.empty(3, dtype=dtype)
arr.fill(value)

yield fill
def fill():
arr = np.empty(3, dtype=dtype)
arr.fill(value)

yield fill

def copyto_scalar():
arr = np.empty(3, dtype=dtype)
Expand Down

0 comments on commit a546ee1

Please sign in to comment.