Skip to content

Commit 0ce8def

Browse files
munkmkevin-bates
authored andcommitted
add pytest to test env requirements and suggest it in contributing docs
1 parent cbf8b5b commit 0ce8def

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CONTRIBUTING.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@ Install dependencies::
6565

6666
To run the Python tests, use::
6767

68-
nosetests
68+
pytest
6969

7070
If you want coverage statistics as well, you can run::
7171

72-
nosetests --with-coverage --cover-package=jupyter_server jupyter_server
72+
py.test --cov notebook -v --pyargs jupyter_server
7373

7474
Building the Documentation
7575
--------------------------

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
],
9393
extras_require = {
9494
'test': ['nose', 'coverage', 'requests', 'nose_warnings_filters',
95-
'nbval', 'nose-exclude', 'selenium'],
95+
'nbval', 'nose-exclude', 'selenium', 'pytest', 'pytest-cov'],
9696
'test:sys_platform == "win32"': ['nose-exclude'],
9797
},
9898
python_requires='>=3.5',

0 commit comments

Comments
 (0)