summaryrefslogtreecommitdiff
path: root/tests/functional/u/unused/unused_variable_after_inference.py
blob: 5020cd32feb0e5b76090f2ac4c004bb0a6196a25 (plain)
1
2
3
4
5
6
7
"""Regression test for https://github.com/pylint-dev/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)