summaryrefslogtreecommitdiff
path: root/tests/functional/u/unused/unused_variable_after_inference.py
blob: 569564dc921f1de56ead804291812a1d4f144928 (plain)
1
2
3
4
5
6
7
"""Regression test for https://github.com/PyCQA/pylint/issues/6895"""
# pylint: disable=missing-class-docstring,too-few-public-methods
import argparse
class Cls:
    def meth(self):
        """Enable non-iterator-returned to produce the failure condition"""
        return argparse.Namespace(debug=True)