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

@@ -4,7 +4,7 @@ pytest-xdist 2.5.0 (2021-12-10)
Deprecations and Removals
-------------------------
- `#468 <https://github.com/pytest-dev/pytest-xdist/issues/468>`_: The ``--boxed`` commmand 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.
- `#468 <https://github.com/pytest-dev/pytest-xdist/issues/468>`_: 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.
Features

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

View File

@@ -39,7 +39,7 @@ commands = pre-commit run --all-files --show-diff-on-failure
[testenv:release]
changedir=
decription = do a release, required posarg of the version number
description = do a release, required posarg of the version number
basepython = python3.7
skipsdist = True
usedevelop = True