8000 Remove skipped test in test for async mocks. (#100559) · python/cpython@984894a · GitHub
[go: up one dir, main page]

Skip to content

Commit 984894a

Browse files
authored
Remove skipped test in test for async mocks. (#100559)
Remove skipped test. See discussion on #25326. Fix is apparently here, but no-one is confident to review and land: #25347.
1 parent 6835184 commit 984894a

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)
0