From 48d3c7d97c71ab318464bed11ad9e60bb827eb4b Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 9 Dec 2024 16:06:54 +0100 Subject: [PATCH] py313: Ignore maxsplit deprecation warning https://github.com/cucumber/gherkin/commit/2f4830093149eae7ff7bd82f683b3d3bb7320d39 https://github.com/pytest-dev/pytest-bdd/issues/752 https://github.com/pytest-dev/pytest-bdd/pull/753 See #8205 --- pytest.ini | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pytest.ini b/pytest.ini index 9af4ade73..6cfeaa8ac 100644 --- a/pytest.ini +++ b/pytest.ini @@ -82,5 +82,8 @@ xfail_strict = true filterwarnings = error default:Test process .* failed to terminate!:UserWarning + # https://github.com/cucumber/gherkin/commit/2f4830093149eae7ff7bd82f683b3d3bb7320d39 + # https://github.com/pytest-dev/pytest-bdd/issues/752 + ignore:'maxsplit' is passed as positional argument:DeprecationWarning:gherkin.gherkin_line faulthandler_timeout = 90 xvfb_colordepth = 24