Skip to content

Commit e990345

Browse files
committed
Replace nosetests references with py.test
1 parent f281b0f commit e990345

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

docs/sphinx/source/contributing.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,14 @@ changes, such as fixing documentation typos.
8383
Testing
8484
-------
8585

86-
pvlib's unit tests can easily be run by executing ``nosetests`` on the
86+
pvlib's unit tests can easily be run by executing ``py.test`` on the
8787
pvlib directory:
8888

89-
``nosetests -v pvlib``
89+
``py.test pvlib``
9090

9191
or, for a single module:
9292

93-
``nosetests -v pvlib/tests/test_clearsky.py``
93+
``py.test pvlib/test/test_clearsky.py``
9494

9595
While copy/paste coding should generally be avoided, it's a great way
9696
to learn how to write unit tests!

docs/sphinx/source/installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ referred to as *conda environments*, but they're the same for our purposes.
154154
``conda create --name pvlibdev python pandas scipy``
155155
#. **Activate** the new conda environment: ``source activate pvlibdev``
156156
#. **Install** additional packages into your development environment:
157-
``conda install jupyter ipython matplotlib seaborn nose flake8``
157+
``conda install jupyter ipython matplotlib seaborn pytest flake8``
158158

159159
The `conda documentation
160160
<http://conda.pydata.org/docs/using/index.html>`_ has more information

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
'six',
4747
]
4848
SETUP_REQUIRES = ['pytest-runner']
49-
TESTS_REQUIRE = ['pytest', 'nose']
49+
TESTS_REQUIRE = ['pytest']
5050

5151
CLASSIFIERS = [
5252
'Development Status :: 4 - Beta',

0 commit comments

Comments
 (0)