Skip to content

Commit

Permalink
remove redundant copy call
Browse files Browse the repository at this point in the history
  • Loading branch information
rcomer committed Sep 29, 2021
1 parent d881c0b commit 8788c6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/iris/tests/unit/analysis/test_Aggregator.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def test_allmasked_1D_with_mdtol(self):
) as mock_method:
result = self.TEST.aggregate(data, axis, mdtol=mdtol)

self.assertIs(result, mock_return.copy())
self.assertIs(result, mock_return)
mock_method.assert_called_once_with(data, axis=axis)

def test_returning_scalar_mdtol(self):
Expand Down

0 comments on commit 8788c6f

Please sign in to comment.