We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2442096 commit 7ced6fbCopy full SHA for 7ced6fb
pandas/tests/test_frame.py
@@ -1844,7 +1844,7 @@ def test_to_string_unicode_two(self):
1844
def test_to_string_with_formatters_unicode(self):
1845
df = DataFrame({u'c/\u03c3':[1,2,3]})
1846
result = df.to_string(formatters={u'c/\u03c3': lambda x: '%s' % x})
1847
- unicode_version = u' c/\u03c3\x83\n0 1 \n1 2 \n2 3 '
+ unicode_version = u' c/\u03c3\n0 1 \n1 2 \n2 3 '
1848
assert(result in
1849
(' c/\xcf\x83\n0 1 \n1 2 \n2 3 ',
1850
unicode_version.encode('cp437', 'ignore'),
0 commit comments