Merge pull request #757 from kianmeng/fix-typos
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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."
|
||||
)
|
||||
|
||||
@@ -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
|
||||
|
||||
2
tox.ini
2
tox.ini
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user