diff --git a/feature3.py b/feature3.py index e97fdae58521764c186681c72bcc831a5c676654..e96297cee1685648fd500077dc175a2bdddde8b6 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()