From 4d9e43b39a4cbe4fc4c7a06e61d1ee3bf01ee65e Mon Sep 17 00:00:00 2001 From: Tim Landscheidt Date: Sun, 17 Mar 2024 23:06:05 +0000 Subject: [PATCH] Remove outdated sed to rename test teardown methods The issue was fixed in 3.1.3 via https://github.com/pallets/jinja/commit/3fadee01b712580d811bdd2cb06cd8a1b5ee0821 The sed turns teardown_method into teardown_method_method. --- python-jinja2.spec | 2 -- 1 file changed, 2 deletions(-) diff --git a/python-jinja2.spec b/python-jinja2.spec index 455bb37..f94bee6 100644 --- a/python-jinja2.spec +++ b/python-jinja2.spec @@ -51,8 +51,6 @@ BuildRequires: python3-sphinx-issues %prep %autosetup -p1 -n %{srcname}-%{version} -# Fix for https://github.com/pallets/jinja/issues/1758 -sed -i "s/def teardown/def teardown_method/" tests/test_loader.py %generate_buildrequires %pyproject_buildrequires -x i18n