From 0644de3472613153e1c2cfd56aa69a5dfe4ea7a9 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 11 Jan 2022 17:47:12 +0100 Subject: [PATCH] Break up long line --- src/_pytest/nodes.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/_pytest/nodes.py b/src/_pytest/nodes.py index e77525212..6e8454ad7 100644 --- a/src/_pytest/nodes.py +++ b/src/_pytest/nodes.py @@ -146,8 +146,9 @@ class NodeMeta(type): warnings.warn( PytestDeprecationWarning( f"{self} is not using a cooperative constructor and only takes {set(known_kw)}.\n" - "See https://docs.pytest.org/en/stable/deprecations.html#constructors-of-custom-pytest-node-subclasses-should-take-kwargs" - " for more details." + "See https://docs.pytest.org/en/stable/deprecations.html" + "#constructors-of-custom-pytest-node-subclasses-should-take-kwargs " + "for more details." ) )