summaryrefslogtreecommitdiff
path: root/pylint/test/input/func_w0611.py
blob: c129aba5c9f63a523294e135b3fb2b2984983ba2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
"""check unused import
"""
# pylint: disable=no-absolute-import

from __future__ import print_function

import os
import sys

class NonRegr(object):
    """???"""
    def __init__(self):
        print('initialized')

    def sys(self):
        """should not get sys from there..."""
        print(self, sys)

    def dummy(self, truc):
        """yo"""
        return self, truc

    def blop(self):
        """yo"""
        print(self, 'blip')