diff options
author | pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> | 2021-02-23 17:02:45 +0000 |
---|---|---|
committer | pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> | 2021-02-23 17:02:50 +0000 |
commit | 3b7fc2c9c839148d19518af655a1d347351286b0 (patch) | |
tree | 93669ed7ee8a89f94a1d0b33fbf3937a0f1672ef | |
parent | 54a154c86f4806327081b80193cebca7934468d0 (diff) | |
download | pytest-3b7fc2c9c839148d19518af655a1d347351286b0.tar.gz |
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
-rw-r--r-- | testing/test_collection.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/testing/test_collection.py b/testing/test_collection.py index 39538ae98..298c2dde1 100644 --- a/testing/test_collection.py +++ b/testing/test_collection.py @@ -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 |