From 11eb838ed9477c8e278ad311efbbef9f8c3306cd Mon Sep 17 00:00:00 2001 From: NimahMasuud Date: Sat, 11 Jan 2025 14:06:01 +0100 Subject: [PATCH] Added tests for multiply function and fixed linting issues --- solutions/tests/test_multiply.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/solutions/tests/test_multiply.py b/solutions/tests/test_multiply.py index 3f39694a6..4733a031e 100644 --- a/solutions/tests/test_multiply.py +++ b/solutions/tests/test_multiply.py @@ -37,7 +37,7 @@ def test_multiply_float_numbers(self): def test_multiply_invalid_first_argument(self): """Test error when the first argument is not a number.""" with self.assertRaises(TypeError): - multiply("a", 5) + multiply("a", 5) def test_multiply_invalid_second_argument(self): """Test error when the second argument is not a number.""" @@ -45,5 +45,5 @@ def test_multiply_invalid_second_argument(self): multiply(3, None) -if __name__ == "__main__": +if __name__ == "__main__": unittest.main()