Show More
@@ -20,7 +20,6 b' from __future__ import print_function' | |||||
20 | #----------------------------------------------------------------------------- |
|
20 | #----------------------------------------------------------------------------- | |
21 |
|
21 | |||
22 | # stdlib |
|
22 | # stdlib | |
23 | import os |
|
|||
24 | import sys |
|
23 | import sys | |
25 |
|
24 | |||
26 | # our own |
|
25 | # our own | |
@@ -141,6 +140,8 b' def start_ipython():' | |||||
141 |
|
140 | |||
142 | # Override paging, so we don't require user interaction during the tests. |
|
141 | # Override paging, so we don't require user interaction during the tests. | |
143 | def nopage(strng, start=0, screen_lines=0, pager_cmd=None): |
|
142 | def nopage(strng, start=0, screen_lines=0, pager_cmd=None): | |
|
143 | if isinstance(strng, dict): | |||
|
144 | strng = strng.get('text/plain', '') | |||
144 | print(strng) |
|
145 | print(strng) | |
145 |
|
146 | |||
146 | page.orig_page = page.pager_page |
|
147 | page.orig_page = page.pager_page |
General Comments 0
You need to be logged in to leave comments.
Login now