Skip to content

Commit

Permalink
Remove skipped test in test for async mocks. (#100559)
Browse files Browse the repository at this point in the history
Remove skipped test.

See discussion on #25326.
Fix is apparently here, but no-one is confident to review and land: #25347.
  • Loading branch information
cjw296 committed Dec 28, 2022
1 parent 6835184 commit 984894a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Lib/test/test_unittest/testmock/testasync.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,10 +218,6 @@ def test_create_autospec_instance(self):
with self.assertRaises(RuntimeError):
create_autospec(async_func, instance=True)

@unittest.skip('Broken test from https://bugs.python.org/issue37251')
def test_create_autospec_awaitable_class(self):
self.assertIsInstance(create_autospec(AwaitableClass), AsyncMock)

def test_create_autospec(self):
spec = create_autospec(async_func_args)
awaitable = spec(1, 2, c=3)
Expand Down

0 comments on commit 984894a

Please sign in to comment.