Package: python-httplib2 / 0.18.1-3

disable-pytest-cov.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
From: Stefano Rivera <stefanor@debian.org>
Date: Sat, 30 Jan 2021 19:38:46 -0700
Subject: Disable pytest-cov

We don't need coverage reports for our use-case. And this avoids us
needing to provide setup.cfg for the test run.

Forwarded: not-needed
---
 setup.cfg | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/setup.cfg b/setup.cfg
index 466f3aa..72d3aa1 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,6 +1,3 @@
-[coverage:run]
-omit = */test/*
-
 [flake8]
 exclude = *.egg*,.env,.git,.tox,_*,build*,dist*,venv*,python2/,python3/
 ignore = E261,W503
@@ -9,8 +6,6 @@ max-line-length = 121
 [tool:pytest]
 minversion = 3.2
 addopts = 
-	--cov-config=setup.cfg
-	--cov=httplib2
 	--noconftest
 	--showlocals
 	--strict