Package: codespell / 2.0.0-1

fix-pytest.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Index: codespell/Makefile
===================================================================
--- codespell.orig/Makefile
+++ codespell/Makefile
@@ -27,8 +27,8 @@ check-dictionaries:
 			exit 1; \
 		fi; \
 	done
-	@if command -v pytest > /dev/null; then \
-		pytest codespell_lib/tests/test_dictionary.py; \
+	@if command -v pytest-3 > /dev/null; then \
+		pytest-3 codespell_lib/tests/test_dictionary.py; \
 	else \
 		echo "Test dependencies not present, install using 'pip install -e \".[dev]\"'"; \
 		exit 1; \