summaryrefslogtreecommitdiff
path: root/numpy/core
diff options
context:
space:
mode:
authorJulian Taylor <juliantaylor108@gmail.com>2014-10-08 19:43:16 +0200
committerJulian Taylor <juliantaylor108@gmail.com>2014-10-08 19:43:16 +0200
commite6e2bb0f4a225559eff23089d84a57c0f2862221 (patch)
tree995977218a9cd3e79ebba61aa624d45b3f605344 /numpy/core
parent7d1a3cf3478b5dde9fcbeb54a4fe826a5f22f530 (diff)
parentee7ca7d14cc073453b00d73102046515ea1b077c (diff)
downloadnumpy-e6e2bb0f4a225559eff23089d84a57c0f2862221.tar.gz
Merge pull request #5160 from bdkearns/master
fix intention of loop in test_copyto_permut
Diffstat (limited to 'numpy/core')
-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))