Blame SOURCES/0001-fix-for-failing-tests-with-coverage-5.4.patch

2f2215
From 92ad6f411167dc05bf54beeb5d9ebc916cc0f6f3 Mon Sep 17 00:00:00 2001
2f2215
From: chedi <chedi.toueiti@gmail.com>
2f2215
Date: Fri, 29 Jan 2021 18:48:58 +0100
2f2215
Subject: [PATCH] fix for failing tests with coverage 5.4
2f2215
2f2215
---
2f2215
 tests/test_pytest_cov.py | 6 +++---
2f2215
 1 file changed, 3 insertions(+), 3 deletions(-)
2f2215
2f2215
diff --git a/tests/test_pytest_cov.py b/tests/test_pytest_cov.py
2f2215
index 3c73050..ff22fef 100644
2f2215
--- a/tests/test_pytest_cov.py
2f2215
+++ b/tests/test_pytest_cov.py
2f2215
@@ -500,7 +500,7 @@ def test_central_coveragerc(testdir, prop):
2f2215
     ])
2f2215
 
2f2215
     # single-module coverage report
2f2215
-    assert all(not line.startswith('TOTAL ') for line in result.stdout.lines[-4:])
2f2215
+    assert all(not line.startswith('TOTAL ') for line in result.stdout.lines[-3:])
2f2215
 
2f2215
     assert result.ret == 0
2f2215
 
2f2215
@@ -538,7 +538,7 @@ parallel = true
2f2215
     ])
2f2215
 
2f2215
     # single-module coverage report
2f2215
-    assert all(not line.startswith('TOTAL ') for line in result.stdout.lines[-4:])
2f2215
+    assert all(not line.startswith('TOTAL ') for line in result.stdout.lines[-3:])
2f2215
 
2f2215
     assert result.ret == 0
2f2215
 
2f2215
@@ -643,7 +643,7 @@ show_missing = true
2f2215
     ])
2f2215
 
2f2215
     # single-module coverage report
2f2215
-    assert all(not line.startswith('TOTAL ') for line in result.stdout.lines[-4:])
2f2215
+    assert all(not line.startswith('TOTAL ') for line in result.stdout.lines[-3:])
2f2215
 
2f2215
     assert result.ret == 0
2f2215
 
2f2215
-- 
2f2215
2.29.2
2f2215