]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] [Enum] fix check in _test_simple_enum (GH-96435)
authorEthan Furman <ethan@stoneleaf.us>
Tue, 30 Aug 2022 19:39:03 +0000 (12:39 -0700)
committerGitHub <noreply@github.com>
Tue, 30 Aug 2022 19:39:03 +0000 (12:39 -0700)
commit8f58db2279a97d826e5bfa99627ba9bb66f6f096
treef60d82a8a7911efd16e5256ded91a06c954bd556
parentd00a9e0176e9a1e2dd213a137757da36e071bd81
[3.11] [Enum] fix check in _test_simple_enum (GH-96435)

The builtin `property` is not a callable, so was failing the check in
`_test_simple_enum` causing a match failure; this adds `property` to the
bypass list.

Co-authored-by: Alexandru Mărășteanu <alexei@users.noreply.github.com>
Lib/enum.py
Lib/test/test_enum.py