mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
clean python 3 specific stuff from stdlib/@python2 stubs (#5451)
This commit is contained in:
@@ -24,9 +24,6 @@ REPORT_UDIFF: int
|
||||
REPORT_CDIFF: int
|
||||
REPORT_NDIFF: int
|
||||
REPORT_ONLY_FIRST_FAILURE: int
|
||||
if sys.version_info >= (3, 4):
|
||||
FAIL_FAST: int
|
||||
|
||||
REPORTING_FLAGS: int
|
||||
|
||||
BLANKLINE_MARKER: str
|
||||
@@ -189,11 +186,7 @@ class SkipDocTestCase(DocTestCase):
|
||||
def test_skip(self) -> None: ...
|
||||
def shortDescription(self) -> str: ...
|
||||
|
||||
if sys.version_info >= (3, 4):
|
||||
class _DocTestSuite(unittest.TestSuite): ...
|
||||
|
||||
else:
|
||||
_DocTestSuite = unittest.TestSuite
|
||||
_DocTestSuite = unittest.TestSuite
|
||||
|
||||
def DocTestSuite(
|
||||
module: Union[None, str, types.ModuleType] = ...,
|
||||
|
||||
Reference in New Issue
Block a user