tptimer/env/lib/python2.7/site-packages/pylint/test/input/func_w0611.py

26 lines
445 B
Python
Raw Normal View History

2018-07-20 05:43:02 +00:00
"""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')