##// END OF EJS Templates
Merge pull request #12581 from farisachugthai/typing_annotation
Matthias Bussonnier -
r26081:e2837c0a merge
parent child Browse files
Show More
@@ -9,6 +9,13 b' from textwrap import dedent, indent'
9 from unittest import TestCase
9 from unittest import TestCase
10 from IPython.testing.decorators import skip_without
10 from IPython.testing.decorators import skip_without
11 import sys
11 import sys
12 from typing import TYPE_CHECKING
13
14 if TYPE_CHECKING:
15 from IPython import get_ipython
16
17 ip = get_ipython()
18
12
19
13 iprc = lambda x: ip.run_cell(dedent(x)).raise_error()
20 iprc = lambda x: ip.run_cell(dedent(x)).raise_error()
14 iprc_nr = lambda x: ip.run_cell(dedent(x))
21 iprc_nr = lambda x: ip.run_cell(dedent(x))
General Comments 0
You need to be logged in to leave comments. Login now