Show More
@@ -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)) |
General Comments 0
You need to be logged in to leave comments.
Login now