diff options
author | Robert Kern <robert.kern@gmail.com> | 2007-01-26 03:46:52 +0000 |
---|---|---|
committer | Robert Kern <robert.kern@gmail.com> | 2007-01-26 03:46:52 +0000 |
commit | d7c5a1ec074074f94f929c0c3c77beb827e7eb05 (patch) | |
tree | e0e81e9c1dcd6045455b7184f80ff113f8a0142f /numpy | |
parent | 1d5bd2e9b44996c20eb31fabc2da79cb942b08bd (diff) | |
download | numpy-d7c5a1ec074074f94f929c0c3c77beb827e7eb05.tar.gz |
Fix the regression test to not use 2.4's sorted function.
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/core/tests/test_regression.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/tests/test_regression.py b/numpy/core/tests/test_regression.py index e7217f9c5..7ffd5ea14 100644 --- a/numpy/core/tests/test_regression.py +++ b/numpy/core/tests/test_regression.py @@ -586,7 +586,7 @@ class test_regression(NumpyTestCase): a = N.arange(5).reshape((5,1)) b = a.copy() N.random.shuffle(b) - assert_equal(sorted(b),a) + assert_equal(N.sort(b, axis=0),a) def check_refcount_vectorize(self, level=rlevel): """Ticket #378""" |