diff options
author | Chris Withers <chris@withers.org> | 2022-12-28 10:55:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-28 10:55:50 (GMT) |
commit | 984894a9a25c0f8298565b0c0c2e1f41917e4f88 (patch) | |
tree | dfbfa42eae19d457a21aa1543c1483facddda9e1 /Lib/test/test_unittest | |
parent | 6835184a44389747dd151023b31a20ff75d6a402 (diff) | |
download | cpython-984894a9a25c0f8298565b0c0c2e1f41917e4f88.zip cpython-984894a9a25c0f8298565b0c0c2e1f41917e4f88.tar.gz cpython-984894a9a25c0f8298565b0c0c2e1f41917e4f88.tar.bz2 |
Remove skipped test in test for async mocks. (#100559)
Remove skipped test.
See discussion on https://github.com/python/cpython/pull/25326.
Fix is apparently here, but no-one is confident to review and land: https://github.com/python/cpython/pull/25347.
Diffstat (limited to 'Lib/test/test_unittest')
-rw-r--r-- | Lib/test/test_unittest/testmock/testasync.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/test/test_unittest/testmock/testasync.py b/Lib/test/test_unittest/testmock/testasync.py index 471162d..5f12f9f 100644 --- a/Lib/test/test_unittest/testmock/testasync.py +++ b/Lib/test/test_unittest/testmock/testasync.py @@ -218,10 +218,6 @@ class AsyncAutospecTest(unittest.TestCase): 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) |