From 74691346bdf89c6588cf3a2c10505fce30ccd366 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Wed, 22 Jun 2022 08:29:02 -0700 Subject: [PATCH] fix some typos to ensure pre-commit.ci fixes main --- src/_pytest/config/argparsing.py | 2 +- src/_pytest/python_api.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/_pytest/config/argparsing.py b/src/_pytest/config/argparsing.py index fa27aa620..830bbd2e2 100644 --- a/src/_pytest/config/argparsing.py +++ b/src/_pytest/config/argparsing.py @@ -227,7 +227,7 @@ class Argument: _typ_map = {"int": int, "string": str, "float": float, "complex": complex} def __init__(self, *names: str, **attrs: Any) -> None: - """Store parms in private vars for use in add_argument.""" + """Store params in private vars for use in add_argument.""" self._attrs = attrs self._short_opts: List[str] = [] self._long_opts: List[str] = [] diff --git a/src/_pytest/python_api.py b/src/_pytest/python_api.py index 426b93ac2..10762ee7b 100644 --- a/src/_pytest/python_api.py +++ b/src/_pytest/python_api.py @@ -134,7 +134,7 @@ class ApproxBase: def _recursive_sequence_map(f, x): - """Recursively map a function over a sequence of arbitary depth""" + """Recursively map a function over a sequence of arbitrary depth""" if isinstance(x, (list, tuple)): seq_type = type(x) return seq_type(_recursive_sequence_map(f, xi) for xi in x)