diff options
author | Nikita Sobolev <mail@sobolevn.me> | 2022-01-05 00:11:06 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-05 00:11:06 (GMT) |
commit | 91bc6f9615eabb10090e2e4f0fe5913885a29c8c (patch) | |
tree | 2fe892e34d58a44ea904b9015407e4d608a97e4d /Misc/NEWS.d/next/Tests | |
parent | 31e43cbe5f01cdd5b5ab330ec3040920e8b61a91 (diff) | |
download | cpython-91bc6f9615eabb10090e2e4f0fe5913885a29c8c.zip cpython-91bc6f9615eabb10090e2e4f0fe5913885a29c8c.tar.gz cpython-91bc6f9615eabb10090e2e4f0fe5913885a29c8c.tar.bz2 |
bpo-46262: [Enum] test error path in `Flag._missing_` (GH-30408)
add tests that exercise the `_missing_` error path for `Flag` and `IntFlag`
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
Diffstat (limited to 'Misc/NEWS.d/next/Tests')
-rw-r--r-- | Misc/NEWS.d/next/Tests/2022-01-05-01-38-45.bpo-46262.MhiLWP.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Tests/2022-01-05-01-38-45.bpo-46262.MhiLWP.rst b/Misc/NEWS.d/next/Tests/2022-01-05-01-38-45.bpo-46262.MhiLWP.rst new file mode 100644 index 0000000..456d135 --- /dev/null +++ b/Misc/NEWS.d/next/Tests/2022-01-05-01-38-45.bpo-46262.MhiLWP.rst @@ -0,0 +1 @@ +Cover ``ValueError`` path in tests for :meth:`enum.Flag._missing_`. |