We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23be1ab commit ae46f17Copy full SHA for ae46f17
tests/test_hypothesis_examples.py
@@ -1,4 +1,4 @@
1
-# Copyright (c) QuantCo 2023-2024
+# Copyright (c) QuantCo 2023-2025
2
# SPDX-License-Identifier: BSD-3-Clause
3
4
import numpy as np
@@ -38,15 +38,15 @@ def do(npx):
38
39
def test_all():
40
def do(npx):
41
- arr = npx.ones(shape=(0, 0), dtype=npx.bool)
+ arr = npx.ones(shape=(0, 0), dtype=npx._bool)
42
return npx.all(arr)
43
44
np.testing.assert_equal(do(np), do(ndx).unwrap_numpy())
45
46
47
def test_any():
48
49
50
return npx.any(arr)
51
52
0 commit comments