You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
python 3: test_to_string_truncate_indices UnicodeEncodeError: 'ascii' codec can't encode characters in position 177-178: ordinal not in range(128) #7247
Was trying to build a fresh pkg of current master 0.14.0~rc1+git73-g8793356 and got hiccup with
======================================================================
ERROR: test_to_string_truncate_indices (pandas.tests.test_format.TestDataFrameFormatting)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/buildd/pandas-0.14.0~rc1+git73-g8793356/debian/tmp/usr/lib/python3/dist-packages/pandas/tests/test_format.py", line 414, in test_to_string_truncate_indices
print(df)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 177-178: ordinal not in range(128)
----------------------------------------------------------------------
Ran 6694 tests in 557.813s
FAILED (SKIP=482, errors=1)
please do not "print" in the tests... makes it harder to get through the output to the actual report on failures (and assert("blah" in str(df)) and assert("bleh" in repr(df)) would be more functional)