Skip to content

Commit 9286831

Browse files
committed
remove oldstyle and nose references
1 parent 2b9964e commit 9286831

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

README.rst

+9-3
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,16 @@ You can check out the latest version of the source code with the command::
9999
Testing
100100
-------
101101

102-
You can run a set of unit tests to make sure that everything is working
103-
correctly. After installation, run::
102+
You can run the unit tests with `pytest`_ to make sure that everything is
103+
working correctly. Inside the source directory, run::
104104

105-
python setup.py test
105+
pytest -v
106+
107+
or to test the installed package::
108+
109+
pytest --pyargs control -v
110+
111+
.. _pytest: https://docs.pytest.org/
106112

107113
License
108114
-------

setup.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
Programming Language :: Python :: 3
2222
Programming Language :: Python :: 3.5
2323
Programming Language :: Python :: 3.6
24+
Programming Language :: Python :: 3.7
25+
Programming Language :: Python :: 3.8
2426
Topic :: Software Development
2527
Topic :: Scientific/Engineering
2628
Operating System :: Microsoft :: Windows
@@ -42,8 +44,4 @@
4244
install_requires=['numpy',
4345
'scipy',
4446
'matplotlib'],
45-
tests_require=['scipy',
46-
'matplotlib',
47-
'nose'],
48-
test_suite = 'nose.collector',
4947
)

0 commit comments

Comments
 (0)