File pytest42.patch of Package python-pytest-remotedata
From b395fca12d392e433b19844d14d014a481ff52fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= <tomas.chvatal@gmail.com>
Date: Fri, 15 Feb 2019 10:26:59 +0100
Subject: [PATCH] Use [tool:pytest] to fix build on pytest 4.2
[pytest] marking is deprecated and errors out on 4.2+ version.
---
tests/test_strict_check.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/test_strict_check.py b/tests/test_strict_check.py
index 79b6073..8527c25 100644
--- a/tests/test_strict_check.py
+++ b/tests/test_strict_check.py
@@ -18,7 +18,7 @@ def test_internet_access():
def _write_config_file(testdir, entry):
config = testdir.tmpdir.join('setup.cfg')
config.write("""
-[pytest]
+[tool:pytest]
{}
""".format(entry))