diff options
author | Pierre Glaser <pierreglaser@msn.com> | 2018-10-05 16:02:52 +0200 |
---|---|---|
committer | Pierre Glaser <pierreglaser@msn.com> | 2018-10-05 16:14:20 +0200 |
commit | 02c3a8a2484b24435fb0d9a49dd4051660bf4a33 (patch) | |
tree | fef44db5f1f8f45e20c50dd24dbe52a9601cedb3 /numpy/matrixlib/tests/test_masked_matrix.py | |
parent | 043eb99687fe0756e50acf62773f475916fc133c (diff) | |
download | numpy-02c3a8a2484b24435fb0d9a49dd4051660bf4a33.tar.gz |
reverted to previous array_dump and array_dumps version
Diffstat (limited to 'numpy/matrixlib/tests/test_masked_matrix.py')
-rw-r--r-- | numpy/matrixlib/tests/test_masked_matrix.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/matrixlib/tests/test_masked_matrix.py b/numpy/matrixlib/tests/test_masked_matrix.py index 2f7ea5632..7f84bb2c9 100644 --- a/numpy/matrixlib/tests/test_masked_matrix.py +++ b/numpy/matrixlib/tests/test_masked_matrix.py @@ -80,7 +80,7 @@ class TestMaskedMatrix(object): # Test pickling w/ a subclass of ndarray a = masked_array(np.matrix(list(range(10))), mask=[1, 0, 1, 0, 0] * 2) for proto in range(2, pickle.HIGHEST_PROTOCOL + 1): - a_pickled = pickle.loads(pickle.dumps(protocol=proto)) + a_pickled = pickle.loads(pickle.dumps(a, protocol=proto)) assert_equal(a_pickled._mask, a._mask) assert_equal(a_pickled, a) assert_(isinstance(a_pickled._data, np.matrix)) |