diff options
author | Alan McIntyre <alan.mcintyre@local> | 2008-07-08 07:29:23 +0000 |
---|---|---|
committer | Alan McIntyre <alan.mcintyre@local> | 2008-07-08 07:29:23 +0000 |
commit | e5da29acd88bb5e873d8b807363625f0be4279bb (patch) | |
tree | dd9f3d40ccfb6aefec4fb9b4afd452baaf0b238e | |
parent | a4847b1de5fc8398c2589e04aee1b63ba0592ff4 (diff) | |
download | numpy-e5da29acd88bb5e873d8b807363625f0be4279bb.tar.gz |
Renamed check_recarray_from_repr to test_recarray_from_repr so it can be
picked up by nose.
-rw-r--r-- | numpy/core/tests/test_records.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/tests/test_records.py b/numpy/core/tests/test_records.py index 4c4ad75eb..7e7c5e0f5 100644 --- a/numpy/core/tests/test_records.py +++ b/numpy/core/tests/test_records.py @@ -52,7 +52,7 @@ class TestFromrecords(TestCase): 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) |