diff --git a/tests/functional/b/bad_dunder_name.py b/tests/functional/b/bad_dunder_name.py index 3d6095564d9..398c59f6c13 100644 --- a/tests/functional/b/bad_dunder_name.py +++ b/tests/functional/b/bad_dunder_name.py @@ -12,6 +12,11 @@ def __hello__(self): # [bad-dunder-name] def hello(self): print("hello") + def _protected_method(self): + print("Protected") + + def __private_method(self): + print("Private") def __init__(self): pass