Skip to content

Commit 59a008c

Browse files
committed
Patch function by standard module path.
1 parent 2903b9a commit 59a008c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/iris/tests/unit/cube/test_CubeList.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ def test_realise_data(self):
308308
# _lazy_data.co_realise_cubes.
309309
mock_cubes_list = [mock.Mock(ident=count) for count in range(3)]
310310
test_cubelist = CubeList(mock_cubes_list)
311-
call_patch = self.patch('iris.cube._lazy.co_realise_cubes')
311+
call_patch = self.patch('iris._lazy_data.co_realise_cubes')
312312
test_cubelist.realise_data()
313313
# Check it was called once, passing cubes as *args.
314314
self.assertEqual(call_patch.call_args_list,

0 commit comments

Comments
 (0)