style: format test_deprecated.py with black

This commit is contained in:
Paul Gauthier (aider) 2025-03-08 13:44:16 -08:00
parent 319d543ac2
commit 4755578822

View file

@ -52,7 +52,9 @@ class TestDeprecated(TestCase):
deprecation_warning = call_args[0][0]
break
self.assertIsNotNone(deprecation_warning, f"No deprecation warning found for {flag}")
self.assertIsNotNone(
deprecation_warning, f"No deprecation warning found for {flag}"
)
warning_msg = deprecation_warning
# Remove any leading hyphens for the comparison
@ -78,7 +80,9 @@ class TestDeprecated(TestCase):
deprecation_warning = call_args[0][0]
break
self.assertIsNotNone(deprecation_warning, "No deprecation warning with model alias found")
self.assertIsNotNone(
deprecation_warning, "No deprecation warning with model alias found"
)
warning_msg = deprecation_warning
self.assertIn("--model gpt4", warning_msg)
self.assertNotIn("--model gpt-4-0613", warning_msg)