summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorBrian Kearns <bdkearns@gmail.com>2014-10-08 01:46:57 -0400
committerBrian Kearns <bdkearns@gmail.com>2014-10-08 01:46:57 -0400
commitee7ca7d14cc073453b00d73102046515ea1b077c (patch)
tree995977218a9cd3e79ebba61aa624d45b3f605344 /numpy
parent7d1a3cf3478b5dde9fcbeb54a4fe826a5f22f530 (diff)
downloadnumpy-ee7ca7d14cc073453b00d73102046515ea1b077c.tar.gz
fix intention of loop in test_copyto_permut
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/tests/test_api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/tests/test_api.py b/numpy/core/tests/test_api.py
index 2fd6463c7..ebb8e4b1b 100644
--- a/numpy/core/tests/test_api.py
+++ b/numpy/core/tests/test_api.py
@@ -377,7 +377,7 @@ def test_copyto_permut():
r = np.zeros(power)
mask = np.array(l)
imask = np.array(l).view(np.uint8)
- imask[mask != 0] = 0xFF
+ imask[mask != 0] = c
np.copyto(r, d, where=mask)
assert_array_equal(r == 1, l)
assert_equal(r.sum(), sum(l))