mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-24 17:28:40 +08:00
Remove Python 3.7 branches (#11238)
This commit is contained in:
@@ -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