mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
mailbox, mimetypes, unittest, zipfile: stubtest fixes (#5239)
This commit is contained in:
@@ -1,6 +1,20 @@
|
||||
import sys
|
||||
from typing import Optional
|
||||
from unittest.async_case import *
|
||||
from unittest.case import *
|
||||
|
||||
from .case import (
|
||||
FunctionTestCase as FunctionTestCase,
|
||||
SkipTest as SkipTest,
|
||||
TestCase as TestCase,
|
||||
expectedFailure as expectedFailure,
|
||||
skip as skip,
|
||||
skipIf as skipIf,
|
||||
skipUnless as skipUnless,
|
||||
)
|
||||
|
||||
if sys.version_info >= (3, 8):
|
||||
from .case import addModuleCleanup as addModuleCleanup
|
||||
|
||||
from unittest.loader import *
|
||||
from unittest.main import *
|
||||
from unittest.result import TestResult as TestResult
|
||||
|
||||
Reference in New Issue
Block a user