Blame SOURCES/Remove-the-usage-of-pytest_cmdline_preparse-hook-rem.patch

ae8baa
From c4b3826b0771772f8f190c74387636d311225cbf Mon Sep 17 00:00:00 2001
ae8baa
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hrn=C4=8Diar?= <thrnciar@redhat.com>
ae8baa
Date: Tue, 23 Apr 2024 10:22:17 +0200
ae8baa
Subject: [PATCH] Remove the usage of pytest_cmdline_preparse hook removed in
ae8baa
 pytest 8
ae8baa
ae8baa
---
ae8baa
 conftest.py | 8 --------
ae8baa
 1 file changed, 8 deletions(-)
ae8baa
ae8baa
diff --git a/conftest.py b/conftest.py
ae8baa
index 56d32b1..9e5488b 100644
ae8baa
--- a/conftest.py
ae8baa
+++ b/conftest.py
ae8baa
@@ -5,11 +5,3 @@ if False:
ae8baa
     import logging
ae8baa
     logging.basicConfig(level=logging.DEBUG)
ae8baa
 
ae8baa
-
ae8baa
-def pytest_cmdline_preparse(args):
ae8baa
-    if sys.version_info[:2] == (3, 5):
ae8baa
-        # Disable pylint on Python 3.5, since it's broken:
ae8baa
-        # <https://bitbucket.org/logilab/astroid/issues/187/call-object-has-no-attribute-starargs>
ae8baa
-        args[:] = (
ae8baa
-            ["-p", "no:pylint"] +
ae8baa
-            [arg for arg in args if "pylint" not in arg])
ae8baa
-- 
ae8baa
2.44.0
ae8baa