Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37850776
en ru br
ALT Linux repos
S:0.10.5-alt4

Group :: Development/Python3
RPM: python3-module-pycobertura

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: pycobertura-0.10.5-Fix-Pytest4.x-compatibility-error.patch
Download


From 388e2b83bf31adc748167510cc8aa7a341dcaf27 Mon Sep 17 00:00:00 2001
From: Stanislav Levin <slev@altlinux.org>
Date: Fri, 31 May 2019 10:22:18 +0300
Subject: [PATCH] Fix Pytest4.x compatibility error
According to pytest docs:
```
[pytest] section in setup.cfg files
Removed in version 4.0.
[pytest] sections in setup.cfg files should now be named [tool:pytest] to
avoid conflicts with other distutils commands.
```
Signed-off-by: Stanislav Levin <slev@altlinux.org>
---
 setup.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/setup.cfg b/setup.cfg
index e4c71bd..77e500e 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,4 +1,4 @@
-[pytest]
+[tool:pytest]
 norecursedirs = build docs/_build *.egg .tox *.venv tests/dummy*
 addopts =
     # Shows a line for every test
-- 
2.21.0
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin