[Numpy-svn] r5358 - trunk/numpy/core/tests
numpy-svn at scipy.org
numpy-svn at scipy.org
Tue Jul 8 03:29:35 EDT 2008
Author: alan.mcintyre
Date: 2008-07-08 02:29:23 -0500 (Tue, 08 Jul 2008)
New Revision: 5358
Modified:
trunk/numpy/core/tests/test_records.py
Log:
Renamed check_recarray_from_repr to test_recarray_from_repr so it can be
picked up by nose.
Modified: trunk/numpy/core/tests/test_records.py
===================================================================
--- trunk/numpy/core/tests/test_records.py 2008-07-07 16:47:18 UTC (rev 5357)
+++ trunk/numpy/core/tests/test_records.py 2008-07-08 07:29:23 UTC (rev 5358)
@@ -52,7 +52,7 @@
assert (mine.data1[i] == 0.0)
assert (mine.data2[i] == 0.0)
- def check_recarray_from_repr(self):
+ def test_recarray_from_repr(self):
x = np.rec.array([ (1, 2)],dtype=[('a', np.int8), ('b', np.int8)])
y = eval("np." + repr(x))
assert isinstance(y, np.recarray)
More information about the Numpy-svn
mailing list