Add unittest features new in Python 3.11 (#8020)

python/cpython@086c6b1
This commit is contained in:
Alex Waygood
2022-06-04 16:27:52 +01:00
committed by GitHub
parent e30ff13b7d
commit 0ce825b5a8
4 changed files with 21 additions and 10 deletions

View File

@@ -69,15 +69,6 @@ typing.TypeVar.__typing_subst__
typing.TypeVarTuple.__typing_subst__
weakref.WeakValueDictionary.update
unittest.IsolatedAsyncioTestCase.enterAsyncContext
unittest.TestCase.enterClassContext
unittest.TestCase.enterContext
unittest.enterModuleContext
unittest.async_case.IsolatedAsyncioTestCase.enterAsyncContext
unittest.case.TestCase.enterClassContext
unittest.case.TestCase.enterContext
unittest.case.enterModuleContext
# stubtest complains that in 3.10 the default argument is inconsistent with the annotation,
# but in 3.10+ calling the function without the default argument is in fact deprecated,
# so it's better to ignore stubtest