diff options
author | Julian Taylor <juliantaylor108@gmail.com> | 2014-10-08 19:43:16 +0200 |
---|---|---|
committer | Julian Taylor <juliantaylor108@gmail.com> | 2014-10-08 19:43:16 +0200 |
commit | e6e2bb0f4a225559eff23089d84a57c0f2862221 (patch) | |
tree | 995977218a9cd3e79ebba61aa624d45b3f605344 /numpy | |
parent | 7d1a3cf3478b5dde9fcbeb54a4fe826a5f22f530 (diff) | |
parent | ee7ca7d14cc073453b00d73102046515ea1b077c (diff) | |
download | numpy-e6e2bb0f4a225559eff23089d84a57c0f2862221.tar.gz |
Merge pull request #5160 from bdkearns/master
fix intention of loop in test_copyto_permut
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/core/tests/test_api.py | 2 |
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)) |