Skip to content

Commit 6a21a5a

Browse files
committed
minor: fix error message and wrongly joined/blackified strings
1 parent 5ecbf25 commit 6a21a5a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

xdist/looponfail.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def pytest_cmdline_main(config):
3232
if config.getoption("looponfail"):
3333
usepdb = config.getoption("usepdb") # a core option
3434
if usepdb:
35-
raise pytest.UsageError("--pdb incompatible with --looponfail.")
35+
raise pytest.UsageError("--pdb is incompatible with --looponfail.")
3636
looponfail_main(config)
3737
return 2 # looponfail only can get stop with ctrl-C anyway
3838

xdist/plugin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,12 @@ def pytest_addoption(parser):
126126
)
127127
parser.addini(
128128
"rsyncdirs",
129-
"list of (relative) paths to be rsynced for" " remote distributed testing.",
129+
"list of (relative) paths to be rsynced for remote distributed testing.",
130130
type="pathlist",
131131
)
132132
parser.addini(
133133
"rsyncignore",
134-
"list of (relative) glob-style paths to be ignored " "for rsyncing.",
134+
"list of (relative) glob-style paths to be ignored for rsyncing.",
135135
type="pathlist",
136136
)
137137
parser.addini(

xdist/scheduler/loadscope.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ def remove_node(self, node):
187187
break
188188
else:
189189
raise RuntimeError(
190-
"Unable to identify crashitem on a workload with " "pending items"
190+
"Unable to identify crashitem on a workload with pending items"
191191
)
192192

193193
# Made uncompleted work unit available again

0 commit comments

Comments
 (0)