From ac7e8fadfb06b17eca451b3c7cba1e53180820aa Mon Sep 17 00:00:00 2001 From: Kate <75544188+kkralik@users.noreply.github.com> Date: Thu, 27 May 2021 10:44:14 +0100 Subject: [PATCH] fix: correct typo in AssertionError message (#12) Mended typo in AssertionError message, line 47, missing 'e' in 'different'. --- test_module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_module.py b/test_module.py index d724fb4..9f886d0 100644 --- a/test_module.py +++ b/test_module.py @@ -44,7 +44,7 @@ class HeatMapTestCase(unittest.TestCase): actual = [text.get_text() for text in self.ax.get_default_bbox_extra_artists() if isinstance(text, mpl.text.Text)] print(actual) expected = ['0.0', '0.0', '-0.0', '0.0', '-0.1', '0.5', '0.0', '0.1', '0.1', '0.3', '0.0', '0.0', '0.0', '0.0', '0.0', '0.0', '0.2', '0.1', '0.0', '0.2', '0.1', '0.0', '0.1', '-0.0', '-0.1', '0.1', '0.0', '0.2', '0.0', '0.1', '-0.0', '-0.0', '0.1', '0.0', '0.1', '0.4', '-0.0', '-0.0', '0.3', '0.2', '0.1', '-0.0', '0.0', '0.0', '-0.0', '-0.0', '-0.0', '0.2', '0.1', '0.1', '0.0', '0.0', '0.0', '0.0', '0.3', '0.0', '-0.0', '0.0', '-0.0', '-0.0', '-0.0', '0.0', '0.0', '-0.0', '0.0', '0.0', '0.0', '0.2', '0.0', '-0.0', '0.2', '0.1', '0.3', '0.2', '0.1', '-0.0', '-0.0', '-0.0', '-0.0', '0.1', '-0.1', '-0.1', '0.7', '0.0', '0.2', '0.1', '0.1', '-0.0', '0.0', '-0.0', '0.1'] - self.assertEqual(actual, expected, "Expected differnt values in heat map.") + self.assertEqual(actual, expected, "Expected different values in heat map.") if __name__ == "__main__": unittest.main()