We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90550b9 commit 2442096Copy full SHA for 2442096
pandas/tests/test_frame.py
@@ -1847,8 +1847,8 @@ def test_to_string_with_formatters_unicode(self):
1847
unicode_version = u' c/\u03c3\x83\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', 'replace'),
1851
- unicode_version.encode('latin1', 'replace'),
+ unicode_version.encode('cp437', 'ignore'),
+ unicode_version.encode('latin1', 'ignore'),
1852
' c/?\n0 1 \n1 2 \n2 3 ' ))
1853
1854
def test_head_tail(self):
0 commit comments