Skip to content

Commit fe7beba

Browse files
committed
Use assertEqual instead of deprecated assertEquals
1 parent b03d305 commit fe7beba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/utils/test_param_file_helper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,5 +116,5 @@ def mock_wait(self, timeout=None):
116116
with patch.object(Event, 'wait', new=mock_wait):
117117
# Test and Assert
118118
self.assertTrue(helper.store_params_from_file('test/utils/fixtures/five_params.yaml'))
119-
self.assertEquals(5, len(mock_Param.set_value.mock_calls))
120-
self.assertEquals(5, len(mock_Param.persistent_store.mock_calls))
119+
self.assertEqual(5, len(mock_Param.set_value.mock_calls))
120+
self.assertEqual(5, len(mock_Param.persistent_store.mock_calls))

0 commit comments

Comments
 (0)