You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.3 KiB
44 lines
1.3 KiB
From 92ad6f411167dc05bf54beeb5d9ebc916cc0f6f3 Mon Sep 17 00:00:00 2001
|
|
From: chedi <chedi.toueiti@gmail.com>
|
|
Date: Fri, 29 Jan 2021 18:48:58 +0100
|
|
Subject: [PATCH] fix for failing tests with coverage 5.4
|
|
|
|
---
|
|
tests/test_pytest_cov.py | 6 +++---
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/tests/test_pytest_cov.py b/tests/test_pytest_cov.py
|
|
index 3c73050..ff22fef 100644
|
|
--- a/tests/test_pytest_cov.py
|
|
+++ b/tests/test_pytest_cov.py
|
|
@@ -500,7 +500,7 @@ def test_central_coveragerc(testdir, prop):
|
|
])
|
|
|
|
# single-module coverage report
|
|
- assert all(not line.startswith('TOTAL ') for line in result.stdout.lines[-4:])
|
|
+ assert all(not line.startswith('TOTAL ') for line in result.stdout.lines[-3:])
|
|
|
|
assert result.ret == 0
|
|
|
|
@@ -538,7 +538,7 @@ parallel = true
|
|
])
|
|
|
|
# single-module coverage report
|
|
- assert all(not line.startswith('TOTAL ') for line in result.stdout.lines[-4:])
|
|
+ assert all(not line.startswith('TOTAL ') for line in result.stdout.lines[-3:])
|
|
|
|
assert result.ret == 0
|
|
|
|
@@ -643,7 +643,7 @@ show_missing = true
|
|
])
|
|
|
|
# single-module coverage report
|
|
- assert all(not line.startswith('TOTAL ') for line in result.stdout.lines[-4:])
|
|
+ assert all(not line.startswith('TOTAL ') for line in result.stdout.lines[-3:])
|
|
|
|
assert result.ret == 0
|
|
|
|
--
|
|
2.29.2
|
|
|