mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-19 04:11:26 +08:00
Remove Python 3.7 branches (#11238)
This commit is contained in:
1 parent
4e62577002
commit
23604858a6
122 files changed
+1952
-3800
No files matched your search
@@ -1,11 +1,2 @@
|
||||
import sys
|
||||
|
||||
if sys.version_info >= (3, 8):
|
||||
from asyncio import iscoroutinefunction as iscoroutinefunction
|
||||
from unittest import IsolatedAsyncioTestCase as IsolatedAsyncioTestCase
|
||||
else:
|
||||
import unittest
|
||||
|
||||
class IsolatedAsyncioTestCase(unittest.TestCase): ...
|
||||
# It is a typeguard, but its signature is to complex to duplicate.
|
||||
def iscoroutinefunction(obj: object) -> bool: ...
|
||||
from asyncio import iscoroutinefunction as iscoroutinefunction
|
||||
from unittest import IsolatedAsyncioTestCase as IsolatedAsyncioTestCase
|
||||
Reference in new issue
Block a user