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 Mar 14, 2022
1 parent 3ef8fb5 commit 689aee5
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 689aee5

Please sign in to comment.