Skip to content

Commit

Permalink
remove now-incorrect assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
tybug committed Sep 13, 2024
1 parent 56ef043 commit 6dfe346
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions hypothesis-python/RELEASE.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
RELEASE_TYPE: patch

This patch removes a now-incorrect internal assertion about numpy's typing after recent numpy changes (currently only in numpy's nightly release).
1 change: 0 additions & 1 deletion hypothesis-python/src/hypothesis/extra/numpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -1305,7 +1305,6 @@ def _dtype_from_args(args):
else:
# Two args: ndarray[shape, type], NDArray[*]
assert len(args) == 2
assert args[0] is Any
dtype = _unpack_dtype(args[1])

if dtype is Any:
Expand Down

0 comments on commit 6dfe346

Please sign in to comment.