From 6e3eaed27b60e2b8b54b68d80b8742c3b8e061eb Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Sun, 28 Jun 2026 06:11:48 +0100 Subject: [PATCH] =?UTF-8?q?Register=20the=20=E2=80=9Cbenchmark=E2=80=9D=20?= =?UTF-8?q?pytest=20mark?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Avoids warnings of the form: ``` PytestUnknownMarkWarning: Unknown pytest.mark.benchmark - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html ``` --- pyproject.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 9c9f303..d2acc55 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,3 +31,8 @@ implicit_reexport = false strict_equality = true pretty = true error_summary = false + +[tool.pytest.ini_options] +markers = [ + "benchmark", +]