summaryrefslogtreecommitdiff
path: root/pylint/test/input/func_unused_import_py30.py
blob: d7a38c50556801d7d5891df59cb0fe8401271592 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
"""check unused import for metaclasses
"""
# pylint: disable=too-few-public-methods
__revision__ = 1
import abc
import sys
from abc import ABCMeta
from abc import ABCMeta as SomethingElse

class Meta(metaclass=abc.ABCMeta):
    """ Test """
    def __init__(self):
        self.data = sys.executable
        self.test = abc

class Meta2(metaclass=ABCMeta):
    """ Test """

class Meta3(metaclass=SomethingElse):
    """ test """