Skip to content

Commit ae46f17

Browse files
committed
Npx 1.x struck again
1 parent 23be1ab commit ae46f17

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_hypothesis_examples.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) QuantCo 2023-2024
1+
# Copyright (c) QuantCo 2023-2025
22
# SPDX-License-Identifier: BSD-3-Clause
33

44
import numpy as np
@@ -38,15 +38,15 @@ def do(npx):
3838

3939
def test_all():
4040
def do(npx):
41-
arr = npx.ones(shape=(0, 0), dtype=npx.bool)
41+
arr = npx.ones(shape=(0, 0), dtype=npx._bool)
4242
return npx.all(arr)
4343

4444
np.testing.assert_equal(do(np), do(ndx).unwrap_numpy())
4545

4646

4747
def test_any():
4848
def do(npx):
49-
arr = npx.ones(shape=(0, 0), dtype=npx.bool)
49+
arr = npx.ones(shape=(0, 0), dtype=npx._bool)
5050
return npx.any(arr)
5151

5252
np.testing.assert_equal(do(np), do(ndx).unwrap_numpy())

0 commit comments

Comments
 (0)