File: 0005-Disable-pytest-3.3-log-capturing-to-avoid-changing-l.patch

package info (click to toggle)
celery 4.2.1-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 6,136 kB
  • sloc: python: 47,677; sh: 772; makefile: 226
file content (21 lines) | stat: -rw-r--r-- 479 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
From: Michael Fladischer <FladischerMichael@fladi.at>
Date: Wed, 28 Mar 2018 21:08:22 +0200
Subject: Disable pytest (>=3.3) log capturing to avoid changing log handlers
 (Closes: #892640).

---
 setup.cfg | 1 +
 1 file changed, 1 insertion(+)

diff --git a/setup.cfg b/setup.cfg
index 09f05f8..b056c41 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,6 +1,7 @@
 [tool:pytest]
 testpaths = t/unit/
 python_classes = test_*
+addopts=-p no:logging
 
 [build_sphinx]
 source-dir = docs/