summaryrefslogtreecommitdiff
path: root/pylint/test/input/func_unused_import_py30.py
blob: 0ea2c9b9c5056e7eb085e9a63d77246b43bcfd38 (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,wrong-import-position,ungrouped-imports
__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 """