fix module test

This commit is contained in:
jxxghp
2024-09-12 15:13:58 +08:00
parent 9a62feb9a9
commit 53195457c7
12 changed files with 33 additions and 18 deletions

View File

@@ -42,7 +42,7 @@ class _ModuleBase(metaclass=ABCMeta):
pass
@abstractmethod
def test(self) -> Tuple[bool, str]:
def test(self) -> Optional[Tuple[bool, str]]:
"""
模块测试, 返回测试结果和错误信息
"""