From: ryneeverett Date: Tue, 2 Feb 2021 17:20:50 +0000 Subject: nose -> pytest https://nose.readthedocs.io/en/latest#note-to-users --- bugwarrior/docs/contributing.rst | 2 +- setup.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/bugwarrior/docs/contributing.rst b/bugwarrior/docs/contributing.rst index d606564..52f3a92 100644 --- a/bugwarrior/docs/contributing.rst +++ b/bugwarrior/docs/contributing.rst @@ -54,7 +54,7 @@ Create a new branch for each pull request based off the ``develop`` branch:: Please add tests when appropriate and run the test suite before opening a PR:: - (bugwarrior)$ python setup.py nosetests + (bugwarrior)$ pytest We look forward to your contribution! diff --git a/setup.py b/setup.py index 47bdc9a..a8501a3 100644 --- a/setup.py +++ b/setup.py @@ -51,7 +51,7 @@ setup(name='bugwarrior', "trac": ["offtrac"], }, tests_require=[ - "nose", + "pytest", "responses", "bugwarrior[jira]", "bugwarrior[megaplan]", @@ -62,7 +62,6 @@ setup(name='bugwarrior', "bugwarrior[bugzilla]", "bugwarrior[phabricator]" ], - test_suite='nose.collector', entry_points=""" [console_scripts] bugwarrior-pull = bugwarrior:pull