Skip to content

Commit eea4d79

Browse files
committed
Remove skipped test.
See discussion on python/cpython#25326. Fix is apparently here, but no-one is confident to review and land: python/cpython#25347.
1 parent b0ea289 commit eea4d79

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Lib/test/test_unittest/testmock/testasync.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -218,10 +218,6 @@ def test_create_autospec_instance(self):
218218
with self.assertRaises(RuntimeError):
219219
create_autospec(async_func, instance=True)
220220

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-
225221
def test_create_autospec(self):
226222
spec = create_autospec(async_func_args)
227223
awaitable = spec(1, 2, c=3)

0 commit comments

Comments
 (0)