##// END OF EJS Templates
Add test for non-ascii characters in PlainTextFormatter
Julian Taylor -
Show More
@@ -112,5 +112,11 b' class InteractiveShellTestCase(unittest.TestCase):'
112 112 ip = get_ipython()
113 113 ip.run_cell('!(true)\n', False)
114 114 ip.run_cell('!(true)\n\n\n', False)
115
116
115
116 def test_gh_597(self):
117 class Spam(object):
118 def __repr__(self):
119 return "\xe9"*50
120 import IPython.core.formatters
121 f = IPython.core.formatters.PlainTextFormatter()
122 f([Spam(),Spam()])
General Comments 0
You need to be logged in to leave comments. Login now