From 869fadcf0eb193c24d50e66edb2109348edf6701 Mon Sep 17 00:00:00 2001 From: Hatice Yildirim <Hatice.Yildirim@student.reutlingen-university.de> Date: Fri, 28 Mar 2025 21:33:29 +0100 Subject: [PATCH] Feature implementiert: feature2.py --- feature3.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/feature3.py b/feature3.py index e97fdae..e96297c 100644 --- a/feature3.py +++ b/feature3.py @@ -52,10 +52,6 @@ class TestStringCalculator(unittest.TestCase): self.calculator.add("1,-2,3") self.assertEqual(str(context.exception), "Negatives not allowed: -2") - def test_multiple_negative_numbers(self): - with self.assertRaises(ValueError) as context: - self.calculator.add("1,-2,-3,4") - self.assertEqual(str(context.exception), "Negatives not allowed: -2, -3") if __name__ == "__main__": unittest.main() -- GitLab