From e4082dfa0cc46c5c106668994354fb40a7eb4362 Mon Sep 17 00:00:00 2001 From: Matthew Ghosh Date: Thu, 7 Mar 2024 10:58:19 +0000 Subject: [PATCH] Testing for 3.7 --- .../pyEpiabm/tests/test_unit/test_routine/test_simulation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyEpiabm/pyEpiabm/tests/test_unit/test_routine/test_simulation.py b/pyEpiabm/pyEpiabm/tests/test_unit/test_routine/test_simulation.py index f0bc4f85..36202122 100644 --- a/pyEpiabm/pyEpiabm/tests/test_unit/test_routine/test_simulation.py +++ b/pyEpiabm/pyEpiabm/tests/test_unit/test_routine/test_simulation.py @@ -581,7 +581,7 @@ def test_write_to_Rt_file(self, mock_mkdir, time=1): # Need to test keys and values separately in case we are using # python 3.7 (for which np.testing.assert_equal will not work) if sys.version_info[1] <= 7: - actual_dict = calls + name, actual_dict, kwargs = calls[0] else: actual_dict = calls[0].args[0] self.assertEqual(dict_1, actual_dict)