We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6835184 commit 984894aCopy full SHA for 984894a
Lib/test/test_unittest/testmock/testasync.py
@@ -218,10 +218,6 @@ def test_create_autospec_instance(self):
218
with self.assertRaises(RuntimeError):
219
create_autospec(async_func, instance=True)
220
221
- @unittest.skip('Broken test from https://bugs.python.org/issue37251')
222
- def test_create_autospec_awaitable_class(self):
223
- self.assertIsInstance(create_autospec(AwaitableClass), AsyncMock)
224
-
225
def test_create_autospec(self):
226
spec = create_autospec(async_func_args)
227
awaitable = spec(1, 2, c=3)
0 commit comments