diff options
author | Alex Watt <alex@alexcwatt.com> | 2019-02-24 20:00:49 -0500 |
---|---|---|
committer | Alex Watt <alex@alexcwatt.com> | 2019-02-24 21:26:37 -0500 |
commit | c458774c637c508f4b1e49ebaa2f85083579fa10 (patch) | |
tree | 952acf081003c330787c53e637673f2c3b1a2564 /numpy/matrixlib/tests | |
parent | 4df5bfd07a5de775c4d6ada5ba267ab3930175bf (diff) | |
download | numpy-c458774c637c508f4b1e49ebaa2f85083579fa10.tar.gz |
MAINT: Convert property to @property
Diffstat (limited to 'numpy/matrixlib/tests')
-rw-r--r-- | numpy/matrixlib/tests/test_masked_matrix.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/matrixlib/tests/test_masked_matrix.py b/numpy/matrixlib/tests/test_masked_matrix.py index 1ecc15d4a..d3911d2e1 100644 --- a/numpy/matrixlib/tests/test_masked_matrix.py +++ b/numpy/matrixlib/tests/test_masked_matrix.py @@ -22,11 +22,11 @@ class MMatrix(MaskedArray, np.matrix,): MaskedArray.__array_finalize__(self, obj) return - def _get_series(self): + @property + def _series(self): _view = self.view(MaskedArray) _view._sharedmask = False return _view - _series = property(fget=_get_series) class TestMaskedMatrix(object): |