blob: 55aa873080e9a603c86e644fe3abe1cb1e6e5df4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
"""Test that `abc.ABCMeta.__new__` does not trigger too-many-function-arguments when referred
https://github.com/PyCQA/pylint/issues/2335
"""
# pylint: disable=missing-class-docstring,unused-argument,arguments-differ
from abc import ABCMeta
class NodeCheckMetaClass(ABCMeta):
def __new__(mcs, name, bases, namespace, **kwargs):
return ABCMeta.__new__(mcs, name, bases, namespace)
|