From d79ef915a2721a64dbb966811909a635841694da Mon Sep 17 00:00:00 2001 From: Kian-Meng Ang Date: Mon, 7 Feb 2022 21:59:38 +0800 Subject: [PATCH] Fix typos --- CHANGELOG.rst | 2 +- src/xdist/plugin.py | 2 +- src/xdist/scheduler/loadscope.py | 4 ++-- tox.ini | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index c20908c..d218ba5 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,7 +4,7 @@ pytest-xdist 2.5.0 (2021-12-10) Deprecations and Removals ------------------------- -- `#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 `_: 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 diff --git a/src/xdist/plugin.py b/src/xdist/plugin.py index 85f76e8..d0448fa 100644 --- a/src/xdist/plugin.py +++ b/src/xdist/plugin.py @@ -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." ) diff --git a/src/xdist/scheduler/loadscope.py b/src/xdist/scheduler/loadscope.py index c25e476..69d9d9a 100644 --- a/src/xdist/scheduler/loadscope.py +++ b/src/xdist/scheduler/loadscope.py @@ -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 diff --git a/tox.ini b/tox.ini index 2f79f3e..2578ae5 100644 --- a/tox.ini +++ b/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