mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-24 00:55:07 +08:00
✅ fix test coverage condition (#1862)
This commit is contained in:
parent
6396a7558a
commit
9f707469da
@ -19,7 +19,6 @@ from nonebot.consts import WINDOWS
|
||||
from nonebot.typing import overrides
|
||||
from nonebot.config import Env, Config
|
||||
from nonebot.drivers import Driver as BaseDriver
|
||||
from nonebot.utils import run_sync, is_coroutine_callable
|
||||
|
||||
from ._lifespan import LIFESPAN_FUNC, Lifespan
|
||||
|
||||
|
@ -17,9 +17,9 @@ exclude_lines =
|
||||
|
||||
[coverage_conditional_plugin]
|
||||
rules =
|
||||
"sys_platform == 'win32'": py-win32
|
||||
"sys_platform == 'linux'": py-linux
|
||||
"sys_platform == 'darwin'": py-darwin
|
||||
"sys_version_info >= (3, 9)": py-gte-39
|
||||
"sys_version_info >= (3, 11)": py-gte-311
|
||||
"sys_version_info < (3, 11)": py-lt-311
|
||||
"sys_platform != 'win32'": py-win32
|
||||
"sys_platform != 'linux'": py-linux
|
||||
"sys_platform != 'darwin'": py-darwin
|
||||
"sys_version_info < (3, 9)": py-gte-39
|
||||
"sys_version_info < (3, 11)": py-gte-311
|
||||
"sys_version_info >= (3, 11)": py-lt-311
|
||||
|
Loading…
Reference in New Issue
Block a user