diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2015-10-26 21:26:57 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2015-10-26 21:26:57 -0600 |
commit | 522a0f749d1ac8d0acece68f9c65d46e96529407 (patch) | |
tree | 8218e17e6ecfc29ff64343c2ad7a91e37fa1075c /numpy/lib/tests/test_recfunctions.py | |
parent | 2962abccf92d8c4cf5552de2add81a460fd31c8a (diff) | |
parent | 796a5f87c11fdc3a345fca5448b27a02856c2e4d (diff) | |
download | numpy-522a0f749d1ac8d0acece68f9c65d46e96529407.tar.gz |
Merge pull request #6562 from ahaldane/disable_view_safety_checks
Disable view safety checks
Diffstat (limited to 'numpy/lib/tests/test_recfunctions.py')
-rw-r--r-- | numpy/lib/tests/test_recfunctions.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/numpy/lib/tests/test_recfunctions.py b/numpy/lib/tests/test_recfunctions.py index 09cc29dc1..699a04716 100644 --- a/numpy/lib/tests/test_recfunctions.py +++ b/numpy/lib/tests/test_recfunctions.py @@ -720,15 +720,5 @@ class TestAppendFieldsObj(TestCase): dtype=[('A', object), ('B', float), ('C', int)]) assert_equal(test, control) - def test_append_with_objects(self): - "Test append_fields when the appended data contains objects" - obj = self.data['obj'] - x = np.array([(10, 1.), (20, 2.)], dtype=[('A', int), ('B', float)]) - y = np.array([obj, obj], dtype=object) - test = append_fields(x, 'C', data=y, dtypes=object, usemask=False) - control = np.array([(10, 1.0, obj), (20, 2.0, obj)], - dtype=[('A', int), ('B', float), ('C', object)]) - assert_equal(test, control) - if __name__ == '__main__': run_module_suite() |