mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
bpo-45011: Fix test_asyncio without C module _asyncio (GH-27968)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 7dc505b865)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
This commit is contained in:
parent
32c1caa87f
commit
9f814beadb
5 changed files with 13 additions and 7 deletions
|
|
@ -918,6 +918,8 @@ def _get_future_cls(self):
|
|||
return futures._PyFuture
|
||||
|
||||
|
||||
@unittest.skipUnless(hasattr(futures, '_CFuture'),
|
||||
'requires the C _asyncio module')
|
||||
class CFutureInheritanceTests(BaseFutureInheritanceTests,
|
||||
test_utils.TestCase):
|
||||
def _get_future_cls(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue