Fix typos

This commit is contained in:
Kian-Meng Ang
2022-02-07 21:59:38 +08:00
parent 290b322a5d
commit d79ef915a2
4 changed files with 5 additions and 5 deletions

View File

@@ -198,7 +198,7 @@ def pytest_configure(config):
tr.showfspath = False
if config.getoption("boxed"):
warning = DeprecationWarning(
"The --boxed commmand line argument is deprecated. "
"The --boxed command line argument is deprecated. "
"Install pytest-forked and use --forked instead. "
"pytest-xdist 3.0.0 will remove the --boxed argument and pytest-forked dependency."
)

View File

@@ -361,12 +361,12 @@ class LoadScopeScheduling:
extra_nodes = len(self.nodes) - len(self.workqueue)
if extra_nodes > 0:
self.log("Shuting down {} nodes".format(extra_nodes))
self.log("Shutting down {} nodes".format(extra_nodes))
for _ in range(extra_nodes):
unused_node, assigned = self.assigned_work.popitem(last=True)
self.log("Shuting down unused node {}".format(unused_node))
self.log("Shutting down unused node {}".format(unused_node))
unused_node.shutdown()
# Assign initial workload