Skip to content

Commit

Permalink
Remove use of deprecated 'setup.py test' command (#77)
Browse files Browse the repository at this point in the history
Since setuptools v41.5.0 (27 Oct 2019), the 'test' command and its
arguments are formally deprecated and should not be used. Instead, use
the unittest module to run tests.
  • Loading branch information
jdufresne authored Feb 17, 2020
1 parent 69ac335 commit 133fc01
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ python:
install:
- pip install .
script:
- python setup.py test
- python -m unittest discover
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ def main():
'Topic :: Utilities',
],
'python_requires': '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
'test_suite': 'tests',
}

setup(**arguments)
Expand Down

0 comments on commit 133fc01

Please sign in to comment.