summarylogtreecommitdiffstats
path: root/fix-pytest-crash.patch
blob: 3ebe34977208ba7c0777489782f7c89db9d47a6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --unified --recursive --text maigret-0.4.4.orig/tests/conftest.py maigret-0.4.4/tests/conftest.py
--- maigret-0.4.4.orig/tests/conftest.py	2022-09-03 13:30:24.000000000 +0200
+++ maigret-0.4.4/tests/conftest.py	2023-06-19 13:51:09.148955640 +0200
@@ -22,10 +22,6 @@
     return item.get_closest_marker('slow', default=empty_mark)
 
 
-def pytest_collection_modifyitems(items):
-    items.sort(key=by_slow_marker, reverse=False)
-
-
 def get_test_reports_filenames():
     return glob.glob(os.path.join('report_*'), recursive=False)