-
- Notifications
You must be signed in to change notification settings - Fork 19.4k
Closed
Labels
Testingpandas testing functions or related to the test suitepandas testing functions or related to the test suite
Milestone
Description
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)
> python3 --version Python 3.3.5 > locale LANG=C LANGUAGE= LC_CTYPE="C" LC_NUMERIC="C" LC_TIME="C" LC_COLLATE="C" LC_MONETARY="C" LC_MESSAGES="C" LC_PAPER="C" LC_NAME="C" LC_ADDRESS="C" LC_TELEPHONE="C" LC_MEASUREMENT="C" LC_IDENTIFICATION="C" LC_ALL=C Metadata
Metadata
Assignees
Labels
Testingpandas testing functions or related to the test suitepandas testing functions or related to the test suite