Skip to content

Commit

Permalink
Add a functional regression test.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbyrnepr2 committed Oct 7, 2022
1 parent 0d62f67 commit 6567183
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions tests/functional/r/regression_02/regression_enum_3941.py
@@ -0,0 +1,16 @@
"""
Regression test for https://github.com/PyCQA/pylint/issues/3941
E1101: Class 'Veg' has no '_value2member_map_' member (no-member)
"""

# pylint: disable=protected-access

from enum import Enum


class Veg(Enum):
...


print(Veg._value2member_map_)

0 comments on commit 6567183

Please sign in to comment.