File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ def generate_output():
55
55
a rich displayable object.
56
56
"""
57
57
58
- from IPython .core . display import HTML , Math , display
58
+ from IPython .display import HTML , Math , display
59
59
60
60
print ("stdout" )
61
61
print ("stderr" , file = sys .stderr )
Original file line number Diff line number Diff line change @@ -173,18 +173,18 @@ def test_cellpx_groupby_order(self):
173
173
expected .extend (
174
174
[
175
175
r'\[output:\d+\]' ,
176
- 'IPython.core.display .HTML' ,
176
+ 'IPython..+ .HTML' ,
177
177
]
178
178
* len (v )
179
179
)
180
180
expected .extend (
181
181
[
182
182
r'\[output:\d+\]' ,
183
- 'IPython.core.display .Math' ,
183
+ 'IPython..+ .Math' ,
184
184
]
185
185
* len (v )
186
186
)
187
- expected .extend ([r'Out\[\d+:\d+\]:.*IPython\.core\.display \.Math' ] * len (v ))
187
+ expected .extend ([r'Out\[\d+:\d+\]:.*IPython\..+ \.Math' ] * len (v ))
188
188
189
189
assert len (lines ), len (expected ) == io .stdout
190
190
for line , expect in zip (lines , expected ):
Original file line number Diff line number Diff line change @@ -614,7 +614,7 @@ def test_execute_magic(self):
614
614
def test_execute_displaypub (self ):
615
615
"""execute tracks display_pub output"""
616
616
view = self .client [:]
617
- view .execute ("from IPython.core. display import *" )
617
+ view .execute ("from IPython.display import *" )
618
618
ar = view .execute ("[ display(i) for i in range(5) ]" , block = True )
619
619
620
620
expected = [{'text/plain' : str (j )} for j in range (5 )]
@@ -625,7 +625,7 @@ def test_execute_displaypub(self):
625
625
def test_apply_displaypub (self ):
626
626
"""apply tracks display_pub output"""
627
627
view = self .client [:]
628
- view .execute ("from IPython.core. display import *" )
628
+ view .execute ("from IPython.display import *" )
629
629
630
630
@interactive
631
631
def publish ():
You can’t perform that action at this time.
0 commit comments