File tree 2 files changed +1
-22
lines changed
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=''):
81
81
# It will always return unicode text which can handled by other
82
82
# parts of the package without breakage.
83
83
#
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
90
85
# pprint_thing_encoded(encoding).
91
86
#
92
87
# 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):
202
202
assert formatters [mimetype ].enabled
203
203
# smoke test that it works
204
204
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