From 5914826514165c3ec214f8b857635663d0e988b4 Mon Sep 17 00:00:00 2001 From: Jon Parise Date: Mon, 21 Aug 2023 20:11:57 -0700 Subject: [PATCH] Correct the spelling of ArgSource.INVOCATION_DIR --- src/_pytest/config/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/_pytest/config/__init__.py b/src/_pytest/config/__init__.py index 8dbaf7c70e5..8a8c0bc1a28 100644 --- a/src/_pytest/config/__init__.py +++ b/src/_pytest/config/__init__.py @@ -953,7 +953,7 @@ class ArgsSource(enum.Enum): #: Command line arguments. ARGS = enum.auto() #: Invocation directory. - INCOVATION_DIR = enum.auto() + INVOCATION_DIR = enum.auto() #: 'testpaths' configuration value. TESTPATHS = enum.auto() @@ -1278,7 +1278,7 @@ def _decide_args( else: result = [] if not result: - source = Config.ArgsSource.INCOVATION_DIR + source = Config.ArgsSource.INVOCATION_DIR result = [str(invocation_dir)] return result, source