File: disable-pytest-cov.patch

package info (click to toggle)
python-httplib2 0.31.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,172 kB
  • sloc: python: 4,527; javascript: 3,563; makefile: 56
file content (31 lines) | stat: -rw-r--r-- 781 bytes parent folder | 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
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 | 4 ----
 1 file changed, 4 deletions(-)

Index: python-httplib2/setup.cfg
===================================================================
--- python-httplib2.orig/setup.cfg
+++ python-httplib2/setup.cfg
@@ -1,5 +1,3 @@
-[coverage:run]
-
 [flake8]
 exclude = *.egg*,.env,.git,.tox,_*,build*,dist*,venv*
 ignore = E261,E731,W503
@@ -8,8 +6,6 @@ max-line-length = 121
 [tool:pytest]
 minversion = 3.2
 addopts = 
-	--cov-config=setup.cfg
-	--cov=httplib2
 	--ignore=tests/_TODO_legacy/
 	--noconftest
 	--showlocals