summaryrefslogtreecommitdiff
path: root/dev-python/python-dateutil/files/python-dateutil-2.8.1-no-pytest-cov.patch
blob: 84adb944548e9509cc8c7d9c1d4ae0b9254e08f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff --git a/dateutil/test/conftest.py b/dateutil/test/conftest.py
index 78ed70a..4bb4c0a 100644
--- a/dateutil/test/conftest.py
+++ b/dateutil/test/conftest.py
@@ -14,10 +14,11 @@ def pytest_collection_modifyitems(items):
 
         marker = marker_getter('xfail')
 
+        # requires pytest-cov
         # Need to query the args because conditional xfail tests still have
         # the xfail mark even if they are not expected to fail
-        if marker and (not marker.args or marker.args[0]):
-            item.add_marker(pytest.mark.no_cover)
+        #if marker and (not marker.args or marker.args[0]):
+        #    item.add_marker(pytest.mark.no_cover)
 
 
 def set_tzpath():