File tree Expand file tree Collapse file tree 2 files changed +1
-22
lines changed
Expand file tree Collapse file tree 2 files changed +1
-22
lines changed Original file line number Diff line number Diff line change @@ -81,12 +81,7 @@ def _join_unicode(lines, sep=''):
8181# It will always return unicode text which can handled by other
8282# parts of the package without breakage.
8383#
84- # 2) If you need to send something to the console, use console_encode().
85- #
86- # console_encode() should (hopefully) choose the right encoding for you
87- # based on the encoding set in option "display.encoding"
88- #
89- # 3) if you need to write something out to file, use
84+ # 2) if you need to write something out to file, use
9085# pprint_thing_encoded(encoding).
9186#
9287# If no encoding is specified, it defaults to utf-8. Since encoding pure
Original file line number Diff line number Diff line change @@ -202,19 +202,3 @@ def test_enable_data_resource_formatter(self):
202202 assert formatters [mimetype ].enabled
203203 # smoke test that it works
204204 self .display_formatter .format (cf )
205-
206-
207- # TODO: fix this broken test
208-
209- # def test_console_encode():
210- # """
211- # On Python 2, if sys.stdin.encoding is None (IPython with zmq frontend)
212- # common.console_encode should encode things as utf-8.
213- # """
214- # if compat.PY3:
215- # pytest.skip
216-
217- # with tm.stdin_encoding(encoding=None):
218- # result = printing.console_encode(u"\u05d0")
219- # expected = u"\u05d0".encode('utf-8')
220- # assert (result == expected)
You can’t perform that action at this time.
0 commit comments