v2.2.2
Added
- (testing) Added a new method
absltest.TestCase.assertMappingEqualthat tests equality of Mapping objects not requiring them to be dicts. Similar toassertSequenceEqualbut for mappings. - (testing) Added a new method
absltest.assertDictContainsSubsetthat checks that a dictionary contains a subset of keys and values. Similar to a removed methodunittest.assertDictContainsSubset(existed until Python 3.11). - Added type annotations that are compliant with MyPy.
Changed
- Removed support for Python 3.7.
Fixed
- (testing) Fixed an issue where the test reporter crashes with exceptions with no string representation, starting with Python 3.11.
(The change log also includes changes in 2.2.0 and 2.2.1.)