Show More
@@ -9,6 +9,7 b' from itertools import chain, repeat' | |||||
9 | import nose.tools as nt |
|
9 | import nose.tools as nt | |
10 | from textwrap import dedent, indent |
|
10 | from textwrap import dedent, indent | |
11 | from unittest import TestCase |
|
11 | from unittest import TestCase | |
|
12 | from IPython.testing.decorators import skip_without | |||
12 |
|
13 | |||
13 | ip = get_ipython() |
|
14 | ip = get_ipython() | |
14 | iprc = lambda x: ip.run_cell(dedent(x)).raise_error() |
|
15 | iprc = lambda x: ip.run_cell(dedent(x)).raise_error() | |
@@ -242,9 +243,11 b' if sys.version_info > (3, 5):' | |||||
242 | """ |
|
243 | """ | |
243 | ) |
|
244 | ) | |
244 |
|
245 | |||
|
246 | @skip_without('curio') | |||
245 | def test_autoawait_curio(self): |
|
247 | def test_autoawait_curio(self): | |
246 | iprc("%autoawait curio") |
|
248 | iprc("%autoawait curio") | |
247 |
|
249 | |||
|
250 | @skip_without('trio') | |||
248 | def test_autoawait_trio(self): |
|
251 | def test_autoawait_trio(self): | |
249 | iprc("%autoawait trio") |
|
252 | iprc("%autoawait trio") | |
250 |
|
253 |
@@ -175,7 +175,7 b' extras_require = dict(' | |||||
175 | parallel = ['ipyparallel'], |
|
175 | parallel = ['ipyparallel'], | |
176 | qtconsole = ['qtconsole'], |
|
176 | qtconsole = ['qtconsole'], | |
177 | doc = ['Sphinx>=1.3'], |
|
177 | doc = ['Sphinx>=1.3'], | |
178 |
test = ['nose>=0.10.1', 'requests', 'testpath', 'pygments', 'nbformat', 'ipykernel', 'numpy' |
|
178 | test = ['nose>=0.10.1', 'requests', 'testpath', 'pygments', 'nbformat', 'ipykernel', 'numpy'], | |
179 | terminal = [], |
|
179 | terminal = [], | |
180 | kernel = ['ipykernel'], |
|
180 | kernel = ['ipykernel'], | |
181 | nbformat = ['nbformat'], |
|
181 | nbformat = ['nbformat'], |
General Comments 0
You need to be logged in to leave comments.
Login now