Skip to content

Commit d262fe7

Browse files
authored
Merge pull request #9 from pgajdos/master
do not depend on deprecated nose
2 parents 42e9fa3 + 46e1b4b commit d262fe7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

tests/test_application.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import logging
99
from unittest import TestCase
1010

11-
import nose.tools as nt
11+
import pytest
1212
from traitlets.tests.utils import check_help_all_output, check_help_output
1313

1414
from jupyter_contrib_core.application import main as main_app
@@ -59,5 +59,5 @@ def test_00_help_output(self):
5959
check_help_output(app_module, [])
6060
check_help_all_output(app_module, [])
6161
# sys.exit should be called if no argv specified
62-
with nt.assert_raises(SystemExit):
62+
with pytest.raises(SystemExit):
6363
main_app([])

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ deps =
3838
notebook50: https://github.com/jupyter/notebook/archive/5.0.0.zip
3939
notebookmaster: https://github.com/jupyter/notebook/archive/master.zip
4040
notebook: notebook
41+
pytest
4142
commands =
4243
{posargs:coverage run --source=src -m nose -vv tests}
4344

0 commit comments

Comments
 (0)