|
Changelog:
=========
-Added absl.flags.override_value function to provide FlagHolder with a construct
to modify values.
-Added a new method absltest.TestCase.assertDataclassEqual that tests equality
of dataclass.dataclass objects with better error messages when the assert fails.
-absl.flags.argparse_flags.ArgumentParser now correctly inherits an empty
instance of FlagValues to ensure that absl flags, such as --flagfile, --undefok
are supported.
-Do not exit 5 if tests were skipped on Python 3.12. This follows the CPython
change in python/cpython#113856.
-The flag foo no longer retains the value bar after FLAGS.foo = bar fails due to
a validation error.
-Fixed an issue caused by this Python 3.12.1 change where the test reporter
crashes when all tests are skipped.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|