Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
awwaawwa committed Dec 23, 2024
1 parent 026b611 commit c06386f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/test_translator.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@ async def test_async_and_sync_translator(self):

# call async from sync
with self.assertRaises(NotImplementedError):
self.assertEqual(async_translator.translate("Hello World", ignore_cache=True), "1")
self.assertEqual(
async_translator.translate("Hello World", ignore_cache=True), "1"
)

async def test_call_async_from_sync_inside_running_loop(self):
translator = AutoIncreaseAsyncTranslator("en", "zh", "test")
Expand Down

0 comments on commit c06386f

Please sign in to comment.