Age | Commit message (Collapse) | Author |
|
Push up to 469768218
|
|
|
|
This also makes sphinx autodoc generate docs for exposed APIs.
Also make `absl.flags`'s docstring compatible with reST.
PiperOrigin-RevId: 469768218
Change-Id: I6fd3807de05d6803a0aa73b3872555e53d504e8d
|
|
PiperOrigin-RevId: 469296283
Change-Id: Ia5c54c633586b90ab57aa81b5813878fa49997dd
|
|
`assertRaisesWithLiteralMatch` method to also store the caught exception object in the returned context manager's `exception` attribute.
PiperOrigin-RevId: 468744160
Change-Id: Iebc6e20d2084d1d078f5dd989d705209a94e1e45
|
|
to add generated docs by Sphinx/readthedocs.
This is just an initial pass, far from great documentations.
PiperOrigin-RevId: 468721475
Change-Id: I5b4f9b2127add933d7eb56414b4fa1751cdacb3d
|
|
PiperOrigin-RevId: 463213585
Change-Id: Ibeea24bb64c116ab5a998032910a033f1c0c08a4
|
|
Push up to 461698919
|
|
|
|
PiperOrigin-RevId: 461698919
Change-Id: Iaf4b66876dcc2ca647ff85696bca992f6d1da257
|
|
an iterable of concrete enum values are used as the default.
PiperOrigin-RevId: 461656002
Change-Id: Ic6d0699ad4f507d9f6ae24ab4aad0d7b8b19bd63
|
|
https://github.com/python/cpython/pull/28180.
After the change, the errors from the test case were no longer buffered in `_Outcome`. Instead, we need to take a note of errors on the `TestResult` before, then compare errors after.
PiperOrigin-RevId: 461070558
Change-Id: I7d9f769cd46143a886bc5edeb224804acd8dbaf9
|
|
acceb038cf am: 2f43d21c3f
Original change: https://android-review.googlesource.com/c/platform/external/python/absl-py/+/2133321
Change-Id: Ide45738cebbf2588c578c6bae3086c9161327077
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
am: 5cba050b09 am: 443d66edda
Original change: https://android-review.googlesource.com/c/platform/external/python/absl-py/+/2130052
Change-Id: I912577fc29b70643cd3c1131cf3fcf95999703ab
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Original change: https://android-review.googlesource.com/c/platform/external/python/absl-py/+/2133321
Change-Id: I8d3f40d399c895f5a82579bf6f324aa6bc09de44
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
am: 5cba050b09
Original change: https://android-review.googlesource.com/c/platform/external/python/absl-py/+/2130052
Change-Id: I6ea42207cb18e43d7e968a25d5240ca1a612fcf8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Original change: https://android-review.googlesource.com/c/platform/external/python/absl-py/+/2133321
Change-Id: If162f1245945d3c4c8b09a058b90ea25a178a952
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Original change: https://android-review.googlesource.com/c/platform/external/python/absl-py/+/2130052
Change-Id: I3834675d7747668db43b1f37ad89cd85f63ddf2c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Original change: https://android-review.googlesource.com/c/platform/external/python/absl-py/+/2133321
Change-Id: Ib86dc094a7b1a5ba7f2b36b8f086b086af02074c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Original change: https://android-review.googlesource.com/c/platform/external/python/absl-py/+/2130052
Change-Id: I8bba1d63137c6c6887ffab9dfe1539e46b74b612
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Original change: https://android-review.googlesource.com/c/platform/external/python/absl-py/+/2133321
Change-Id: Id3e2f92ae1ff1a640d8344b6fb32655ec37055ac
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Original change: https://android-review.googlesource.com/c/platform/external/python/absl-py/+/2130052
Change-Id: I4fcacf0c8f4c98b6f22ef9f272f4c12dbfde162a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Bug: 227705464
Bug: 236118730
Change-Id: I8c1f86ea7b15e5e56fe9f2915d526df1d756ef56
Signed-off-by: Yifan Hong <elsk@google.com>
|
|
Test: none
Bug: 227705464
Bug: 236118730
Change-Id: I28557fa16390caefaac5d21bbc5c0881ad511797
Signed-off-by: Yifan Hong <elsk@google.com>
|
|
|
|
PiperOrigin-RevId: 454734291
Change-Id: I043f77b129a411a9f517b37800df3ea729cb7a59
|
|
`absltest.main()` is called inside `app.run()`.
We just want to remove the defined flags from the original `sys.argv` without affect anything. At that point, flags are already parsed by `app.run()`.
The original code also has an issue with validators and multi- flags. Calling `FLAGS(sys.argv)` will duplicate the flag values then run flag validators, which can fail before the flag values are restored.
PiperOrigin-RevId: 454052335
Change-Id: I24a3af6bb3c68dbc17ebc54a2c99e08b1a10d60a
|
|
PiperOrigin-RevId: 453697925
Change-Id: I24a9fbbe2a690d7101b7190f4b4976d16bd0942f
|
|
Push up to 452372418
|
|
|
|
PiperOrigin-RevId: 452372418
Change-Id: Id1efa24457e5240dd39cdb5858523e1f35ce01be
|
|
Now that we've dropped Python 2 support, we can drop the conditional import of `typing`.
PiperOrigin-RevId: 450471818
Change-Id: I6c4efc7b6943b9794b2a3cf1eba90d330d6b73fd
|
|
PiperOrigin-RevId: 447093436
Change-Id: I1538d556cc96a4155b2c43ade70f1966b6b5bd28
|
|
PiperOrigin-RevId: 447005334
Change-Id: Iea86a969093640a18663d3d135648329c45e9954
|
|
PiperOrigin-RevId: 446842401
Change-Id: Ic66c537d810dda858318a95e5f7b2242f58f7c75
|
|
PiperOrigin-RevId: 440945020
Change-Id: I78d78173ca4a122208950176104e9ae722616e42
|
|
Push up to 436585035
|
|
|
|
Also remove the mock package in bazel WORKSPACE file.
PiperOrigin-RevId: 436585035
Change-Id: I7f8eafac5f7b10dc8f580db20c7ae60711dfdf12
|
|
PiperOrigin-RevId: 436293697
Change-Id: I4ebf90127a781162636fa728c8899d76937dbca6
|
|
PiperOrigin-RevId: 436216380
Change-Id: I1058b3893eaf6e18c2872c2cf2533c3109bb972f
|
|
The test helper change is for a test that will be released in a future version.
PiperOrigin-RevId: 435099266
Change-Id: I870a7a6386f5ecca4e349b1211b92c723dfd8c54
|
|
PiperOrigin-RevId: 432505574
Change-Id: I581809fc35b40fd477a111154065a281c53eee00
|
|
PiperOrigin-RevId: 430280700
Change-Id: I62ca45c7b794989f9e8ee66094fb73c5ac7a6840
|
|
bool context (not useful) to avoid situations where someone really wanted to refer to `their_flag.value` instead. This prevents logic bugs.
There were ~10 problems found by this and cleaned up in our internal codebase.
PiperOrigin-RevId: 427295923
Change-Id: Ifc9e086133986cc14d052a06889a93c1ab0ff688
|
|
PiperOrigin-RevId: 426998346
Change-Id: I6b7ad5496864aee2bfff9b7cdff4ed70fd790a34
|
|
PiperOrigin-RevId: 426506531
Change-Id: I7a291ac06fc88c9970d58241538a7bdc3ffd7fa4
|
|
Delete PrefixFormatterTest in favor of ABSLLogPrefixTest.
|
|
|
|
Push up to 426467477
|