]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-46262: [Enum] test error path in `Flag._missing_` (GH-30408)
authorNikita Sobolev <mail@sobolevn.me>
Wed, 5 Jan 2022 00:11:06 +0000 (03:11 +0300)
committerGitHub <noreply@github.com>
Wed, 5 Jan 2022 00:11:06 +0000 (16:11 -0800)
commit91bc6f9615eabb10090e2e4f0fe5913885a29c8c
tree2fe892e34d58a44ea904b9015407e4d608a97e4d
parent31e43cbe5f01cdd5b5ab330ec3040920e8b61a91
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>
Lib/test/test_enum.py
Misc/NEWS.d/next/Tests/2022-01-05-01-38-45.bpo-46262.MhiLWP.rst [new file with mode: 0644]