prevent doubleing of function level marks

This commit is contained in:
Ronny Pfannschmidt 2018-03-30 08:19:45 +02:00
parent 802da781c6
commit e4a52c1795
1 changed files with 2 additions and 0 deletions

View File

@ -1122,6 +1122,8 @@ class Function(FunctionMixin, nodes.Item, fixtures.FuncargnamesCompatAttr):
Python test function. Python test function.
""" """
_genid = None _genid = None
# disable since functions handle it themselfes
_ALLOW_MARKERS = False
def __init__(self, name, parent, args=None, config=None, def __init__(self, name, parent, args=None, config=None,
callspec=None, callobj=NOTSET, keywords=None, session=None, callspec=None, callobj=NOTSET, keywords=None, session=None,