aboutsummaryrefslogtreecommitdiff
path: root/absl/testing/flagsaver.py
AgeCommit message (Collapse)Author
2022-06-08Remove the unnecessary Python 2 related future imports.Yilei Yang
PiperOrigin-RevId: 453697925 Change-Id: I24a9fbbe2a690d7101b7190f4b4976d16bd0942f
2020-12-14Support using flagholder in flagsaver.Abseil Team
`(HOLDER, value)` pairs can now be specified in positional arguments. It is equivalent to specifying `**{HOLDER.name: value}` We can mix and match holder and non-holder overrides. So usages like `flagsaver((HOLDER1, value1), (HOLDER2, value2), flag_name=value)` are legal as well. PiperOrigin-RevId: 347450631 Change-Id: I45bdf7bd56ad1d65d62ff34536ef09e47fce7ae8
2020-12-02Fix #158: Remove the executable bits in these filesYilei Yang
PiperOrigin-RevId: 345253573 Change-Id: Icaf22a5e11465398985187dcf1c6d9283c17faa6
2020-09-30In flagsaver, set multiple flags together before their validators run.Karol M. Langner
This resolves an issue where multi-flag validators rely on specific flag combinations. PiperOrigin-RevId: 334625442 Change-Id: I7e6b625637a70356df57a4d9cbb01c203f14df4c
2018-07-03Added an import statement to the flagsaver example for convenience.Abseil Team
PiperOrigin-RevId: 203203758
2017-09-19Initial commit: Abseil Python Common Libraries.Yilei Yang