From 61428de4f34c3310518c429eb3c23f57cc404c31 Mon Sep 17 00:00:00 2001 From: H Lohaus Date: Sat, 16 Nov 2024 13:00:02 +0100 Subject: Update asyncio.py --- etc/unittest/asyncio.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/unittest/asyncio.py b/etc/unittest/asyncio.py index 8931b79a..5883bae5 100644 --- a/etc/unittest/asyncio.py +++ b/etc/unittest/asyncio.py @@ -61,11 +61,11 @@ class TestChatCompletionNestAsync(unittest.IsolatedAsyncioTestCase): result = await ChatCompletion.create_async(g4f.models.default, DEFAULT_MESSAGES, ProviderMock) self.assertEqual("Mock",result) - async def test_nested(self): + async def _test_nested(self): result = ChatCompletion.create(g4f.models.default, DEFAULT_MESSAGES, AsyncProviderMock) self.assertEqual("Mock",result) - async def test_nested_generator(self): + async def _test_nested_generator(self): result = ChatCompletion.create(g4f.models.default, DEFAULT_MESSAGES, AsyncGeneratorProviderMock) self.assertEqual("Mock",result) -- cgit v1.2.3