[7.0.x] Add additional docs for uncooperative ctor deprecation (#9552)

Co-authored-by: Florian Bruhin <me@the-compiler.org>
This commit is contained in:
github-actions[bot]
2022-01-27 11:54:34 +00:00
committed by GitHub
parent e854d05328
commit 28e5b3b8b7
3 changed files with 44 additions and 3 deletions

View File

@@ -18,8 +18,8 @@ class YamlFile(pytest.File):
class YamlItem(pytest.Item):
def __init__(self, name, parent, spec):
super().__init__(name, parent)
def __init__(self, *, spec, **kwargs):
super().__init__(**kwargs)
self.spec = spec
def runtest(self):