Show More
@@ -1,5 +1,5 b'' | |||
|
1 | 1 | """ |
|
2 |
Test for async helpers. |
|
|
2 | Test for async helpers. | |
|
3 | 3 | |
|
4 | 4 | Should only trigger on python 3.5+ or will have syntax errors. |
|
5 | 5 | """ |
@@ -9,6 +9,12 b' from textwrap import dedent, indent' | |||
|
9 | 9 | from unittest import TestCase |
|
10 | 10 | from IPython.testing.decorators import skip_without |
|
11 | 11 | import sys |
|
12 | from typing import TYPE_CHECKING | |
|
13 | ||
|
14 | if TYPE_CHECKING: | |
|
15 | from IPython import get_ipython | |
|
16 | ip = get_ipython() | |
|
17 | ||
|
12 | 18 | |
|
13 | 19 | iprc = lambda x: ip.run_cell(dedent(x)).raise_error() |
|
14 | 20 | iprc_nr = lambda x: ip.run_cell(dedent(x)) |
@@ -275,7 +281,7 b' class AsyncTest(TestCase):' | |||
|
275 | 281 | await sleep(0.1) |
|
276 | 282 | """ |
|
277 | 283 | ) |
|
278 | ||
|
284 | ||
|
279 | 285 | if sys.version_info < (3,9): |
|
280 | 286 | # new pgen parser in 3.9 does not raise MemoryError on too many nested |
|
281 | 287 | # parens anymore |
General Comments 0
You need to be logged in to leave comments.
Login now