summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_index_tricks.py
diff options
context:
space:
mode:
authorChris Jordan-Squire <cjordan1@uw.edu>2011-09-02 12:09:48 -0500
committerCharles Harris <charlesr.harris@gmail.com>2011-12-17 09:03:51 -0700
commit67f24e8f2e12d9f5b8510ffd0769b13f18f5636a (patch)
tree63a4240e8a3cb2e9efac7283669522e5e992fb69 /numpy/lib/tests/test_index_tricks.py
parent8b6c850cf3e6ec664705e9823014e59edc1a26e7 (diff)
downloadnumpy-67f24e8f2e12d9f5b8510ffd0769b13f18f5636a.tar.gz
FIX: Changed named to choice, reverted other changes.
Diffstat (limited to 'numpy/lib/tests/test_index_tricks.py')
-rw-r--r--numpy/lib/tests/test_index_tricks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/tests/test_index_tricks.py b/numpy/lib/tests/test_index_tricks.py
index 2c095b71b..2c6500a57 100644
--- a/numpy/lib/tests/test_index_tricks.py
+++ b/numpy/lib/tests/test_index_tricks.py
@@ -193,7 +193,7 @@ def test_diag_indices():
[0, 1]]]) )
def test_diag_indices_from():
- x = np.random.random_sample((4, 4))
+ x = np.random.random((4, 4))
r, c = diag_indices_from(x)
assert_array_equal(r, np.arange(4))
assert_array_equal(c, np.arange(4))