summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Wilson <person142@users.noreply.github.com>2020-06-07 18:38:30 -0700
committerJosh Wilson <person142@users.noreply.github.com>2020-06-07 18:38:30 -0700
commitf09b27d99121c9e47d3b5ec59dc23eeec1b20b1e (patch)
treeab63745a920d313ecc204117e40e4de741c5ac5a
parent7c0d99d99c2034930e558d8b0fb48869964a41f0 (diff)
downloadnumpy-f09b27d99121c9e47d3b5ec59dc23eeec1b20b1e.tar.gz
MAINT: avoid divide by zero in typing test causing aarch64 tests to fail
-rw-r--r--numpy/tests/typing/pass/simple.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/tests/typing/pass/simple.py b/numpy/tests/typing/pass/simple.py
index b9715da5d..b4b42ca0c 100644
--- a/numpy/tests/typing/pass/simple.py
+++ b/numpy/tests/typing/pass/simple.py
@@ -5,7 +5,7 @@ import numpy as np
from typing import Iterable # noqa: F401
# Basic checks
-array = np.array([1, 2])
+array = np.array([2, 3])
def ndarray_func(x):