| 1 |
From: ryneeverett <[email protected]> |
| 2 |
Date: Tue, 2 Feb 2021 17:20:50 +0000 |
| 3 |
Subject: nose -> pytest |
| 4 |
|
| 5 |
https://nose.readthedocs.io/en/latest#note-to-users |
| 6 |
--- |
| 7 |
bugwarrior/docs/contributing.rst | 2 +- |
| 8 |
setup.py | 3 +-- |
| 9 |
2 files changed, 2 insertions(+), 3 deletions(-) |
| 10 |
|
| 11 |
diff --git a/bugwarrior/docs/contributing.rst b/bugwarrior/docs/contributing.rst |
| 12 |
index d606564..52f3a92 100644 |
| 13 |
--- a/bugwarrior/docs/contributing.rst |
| 14 |
+++ b/bugwarrior/docs/contributing.rst |
| 15 |
@@ -54,7 +54,7 @@ Create a new branch for each pull request based off the ``develop`` branch:: |
| 16 |
|
| 17 |
Please add tests when appropriate and run the test suite before opening a PR:: |
| 18 |
|
| 19 |
- (bugwarrior)$ python setup.py nosetests |
| 20 |
+ (bugwarrior)$ pytest |
| 21 |
|
| 22 |
We look forward to your contribution! |
| 23 |
|
| 24 |
diff --git a/setup.py b/setup.py |
| 25 |
index 47bdc9a..a8501a3 100644 |
| 26 |
--- a/setup.py |
| 27 |
+++ b/setup.py |
| 28 |
@@ -51,7 +51,7 @@ setup(name='bugwarrior', |
| 29 |
"trac": ["offtrac"], |
| 30 |
}, |
| 31 |
tests_require=[ |
| 32 |
- "nose", |
| 33 |
+ "pytest", |
| 34 |
"responses", |
| 35 |
"bugwarrior[jira]", |
| 36 |
"bugwarrior[megaplan]", |
| 37 |
@@ -62,7 +62,6 @@ setup(name='bugwarrior', |
| 38 |
"bugwarrior[bugzilla]", |
| 39 |
"bugwarrior[phabricator]" |
| 40 |
], |
| 41 |
- test_suite='nose.collector', |
| 42 |
entry_points=""" |
| 43 |
[console_scripts] |
| 44 |
bugwarrior-pull = bugwarrior:pull |