summaryrefslogtreecommitdiff
path: root/Python/fileutils.c
diff options
context:
space:
mode:
authorNikita Sobolev <mail@sobolevn.me>2022-01-08 00:44:21 +0300
committerGitHub <noreply@github.com>2022-01-07 13:44:21 -0800
commit74d1663580d1914bd110c3ab7282451f5e2cd2b5 (patch)
tree0f2c442a8c18ada0102701bd3adaa8a27f04c7cc /Python/fileutils.c
parentd382f7ee0b98e4ab6ade9384268f25c06be462ad (diff)
downloadcpython-git-74d1663580d1914bd110c3ab7282451f5e2cd2b5.tar.gz
bpo-46296: [Enum] add a test for missing `value` recovery (GH-30458)
In `__set_name__` there is a check for the `_value_` attribute and an attempt to add it if missing; this adds a test to cover the case for simple enums with a custom `__new__` method.
Diffstat (limited to 'Python/fileutils.c')
0 files changed, 0 insertions, 0 deletions