Skip to content

Commit 0c84201

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 08d8a62 commit 0c84201

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/xdist/looponfail.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def __init__(self, config):
6161

6262
def trace(self, *args):
6363
if self.config.option.debug:
64-
msg = " ".join([str(x) for x in args])
64+
msg = " ".join(str(x) for x in args)
6565
print("RemoteControl:", msg)
6666

6767
def initgateway(self):

src/xdist/report.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ def report_collection_diff(from_collection, to_collection, from_id, to_id):
1616
"The difference is:\n"
1717
"{diff}"
1818
).format(from_id=from_id, to_id=to_id, diff="\n".join(diff))
19-
msg = "\n".join([x.rstrip() for x in error_message.split("\n")])
19+
msg = "\n".join(x.rstrip() for x in error_message.split("\n"))
2020
return msg

0 commit comments

Comments
 (0)