Skip to content

Commit

Permalink
Remove dependency of unmaintained nose
Browse files Browse the repository at this point in the history
The nose project has ceased development. The last commit is from Mar 3,
2016. From their docs page:

https://nose.readthedocs.io/

> Note to Users
>
> Nose has been in maintenance mode for the past several years and will
> likely cease without a new person/team to take over maintainership.
> New projects should consider using Nose2, py.test, or just plain
> unittest/unittest2.

Simplify tests by using the stdlib unittest. One fewer dependency.
  • Loading branch information
jdufresne committed Dec 26, 2018
1 parent f8e741d commit 2dd4d22
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
.coverage
MANIFEST
coverage.xml
nosetests.xml
junit-report.xml
pylint.txt
toy.py
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ install:
- pip install requests-mock
- pip install coveralls
script:
- coverage run --source=requests_oauthlib -m nose
- coverage run --source=requests_oauthlib -m unittest discover
after_success:
- coveralls
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ envlist = py27, py34, py35, py36, pypy
[testenv]
deps=
-r{toxinidir}/requirements.txt
nose
mock
coveralls
requests-mock
commands= coverage run --source=requests_oauthlib -m nose
commands= coverage run --source=requests_oauthlib -m unittest discover

0 comments on commit 2dd4d22

Please sign in to comment.