Create unittest._log stub and improve _AssertLogsContext (#6428)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
Akuli
2021-12-01 07:39:14 +02:00
committed by GitHub
parent 6246e7856c
commit b3e8073bac
6 changed files with 32 additions and 19 deletions

View File

@@ -60,6 +60,7 @@ typing.NamedTuple._make
typing.NamedTuple._replace
typing.Sequence.index
typing.runtime_checkable
unittest._log # New in Python 3.9
unittest.async_case # Added in Python 3.8
uuid.UUID.int
xml.etree.ElementTree.TreeBuilder.start # Discrepancy between Python and C modules, fixed in bpo-39495

View File

@@ -53,6 +53,7 @@ typing.NamedTuple._replace
typing._SpecialForm.__init__
typing._SpecialForm.__new__
typing.runtime_checkable
unittest._log # New in Python 3.9
unittest.async_case # Added in Python 3.8
uuid.UUID.int
uuid.UUID.is_safe

View File

@@ -73,6 +73,7 @@ typing.SupportsInt.__init__
typing.SupportsRound.__init__
typing._SpecialForm.__init__
typing._SpecialForm.__new__
unittest._log # New in Python 3.9
uuid.getnode # undocumented, unused parameter getters that was later removed
weakref.WeakValueDictionary.update
xml.etree.ElementTree.TreeBuilder.start # Discrepancy between Python and C modules, fixed in bpo-39495