Skip to content

Commit 45c926f

Browse files
[ruff-fmt] Nudge the auto-formatter to properly separate lines
1 parent 840b2d6 commit 45c926f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/_pytest/terminal.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1034,9 +1034,9 @@ def mkrel(nodeid: str) -> str:
10341034
# fspath comes from testid which has a "/"-normalized path.
10351035
if fspath:
10361036
res = mkrel(nodeid)
1037-
if self.verbosity >= 2 and nodeid.split("::", maxsplit=1)[
1038-
0
1039-
] != nodes.norm_sep(fspath):
1037+
if self.verbosity >= 2 and (
1038+
nodeid.split("::", maxsplit=1)[0] != nodes.norm_sep(fspath)
1039+
):
10401040
res += " <- " + bestrelpath(self.startpath, Path(fspath))
10411041
else:
10421042
res = "[location]"

0 commit comments

Comments
 (0)