File: switch-to-pytest.patch

package info (click to toggle)
circlator 1.5.6-13
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 12,088 kB
  • sloc: python: 4,472; sh: 132; makefile: 9
file content (17 lines) | stat: -rw-r--r-- 560 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
From: Nilesh Patra <nilesh@debian.org>
Subject: Switch from nose->pytest since the former is deprecated
Last-Updated: 2021-10-25
Forwarded: https://github.com/sanger-pathogens/circlator/pull/186

--- a/setup.py
+++ b/setup.py
@@ -15,8 +15,7 @@
     author_email='path-help@sanger.ac.uk',
     url='https://github.com/sanger-pathogens/circlator',
     scripts=glob.glob('scripts/*'),
-    test_suite='nose.collector',
-    tests_require=['nose >= 1.3'],
+    tests_require=['pytest'],
     install_requires=[
         'openpyxl',
         'pyfastaq >= 3.12.1',