1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
Description: change test framework from nose to pytest
Author: Joseph Nahmias <joe@nahmias.net>
Origin: vendor
Bug-Debian: https://bugs.debian.org/1018439
Forwarded: https://github.com/frederickjansen/polyline/pull/13
Last-Update: 2023-01-16
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ pep8-tests:
flake8 --ignore=E128,E501 polyline
unit-tests:
- nosetests
+ pytest .
reqs: setup-base-dependencies setup-test-dependencies
--- a/requirements/test.txt
+++ b/requirements/test.txt
@@ -1,3 +1,3 @@
flake8==2.2.4
-nose==1.3.7
+pytest==7.2.1
coverage==4.5.3
|