[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
54a154c86f
commit
3b7fc2c9c8
|
@ -1372,9 +1372,7 @@ def test_class_from_parent(pytester: Pytester, request: FixtureRequest) -> None:
|
|||
def from_parent(cls, parent, *, name, x):
|
||||
return super().from_parent(parent=parent, name=name, x=x)
|
||||
|
||||
collector = MyCollector.from_parent(
|
||||
parent=request.session, name="foo", x=10
|
||||
)
|
||||
collector = MyCollector.from_parent(parent=request.session, name="foo", x=10)
|
||||
assert collector.x == 10
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue