Skip to content

Commit fc0c812

Browse files
committed
cleanup
1 parent 1f1bc35 commit fc0c812

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpy/_core/tests/test_numeric.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1713,10 +1713,10 @@ def test_sparse(self):
17131713
def test_nonzero_dtypes(self):
17141714
rng = np.random.default_rng(seed = 10)
17151715
zero_indices = np.arange(50)
1716-
sample = ((2**33)*rng.normal(size=100))
17171716

17181717
# test for different dtypes
17191718
types = [bool, np.int8, np.int16, np.int32, np.int64, np.float32, np.float64]
1719+
sample = ((2**33)*rng.normal(size=100))
17201720
for dtype in types:
17211721
x = sample.astype(dtype)
17221722
rng.shuffle(zero_indices)

0 commit comments

Comments
 (0)