summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_index_tricks.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-09-14 02:33:55 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-09-14 02:33:55 +0000
commitd6ce2d7dc3a62b45272779d771c86338cf4f2c56 (patch)
tree61ebc82a5816257d1cd90b2f35ce694e5e17be74 /numpy/lib/tests/test_index_tricks.py
parent4e76e00cc5afceaf70fe8d655cf59d4a9fb85a0a (diff)
downloadnumpy-d6ce2d7dc3a62b45272779d771c86338cf4f2c56.tar.gz
Fix up r_ so you can specify the minimum number of dimensions to force arrays to and allow alteration of the concatenation axis and whether or not to transpose 1d arrays
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 e0be41d8a..f7797396f 100644
--- a/numpy/lib/tests/test_index_tricks.py
+++ b/numpy/lib/tests/test_index_tricks.py
@@ -39,7 +39,7 @@ class test_concatenator(NumpyTestCase):
def check_2d(self):
b = rand(5,5)
c = rand(5,5)
- d = r_[b,c,'1'] # append columns
+ d = r_['1',b,c] # append columns
assert(d.shape == (5,10))
assert_array_equal(d[:,:5],b)
assert_array_equal(d[:,5:],c)