mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 00:35:00 +00:00
style: format test_deprecated.py with black
This commit is contained in:
parent
319d543ac2
commit
4755578822
1 changed files with 10 additions and 6 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue