Tests for text_strip fail on \xa0
xhochy opened this issue · comments
pytest
output:
[gw3] darwin -- Python 3.8.2 /Users/uwe/miniconda3/envs/fletcher/bin/python
fletcher_variant = 'chunked'
> ???
tests/test_text.py:320:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_text.py:352: in test_text_strip
_do_test_text_strip(fletcher_variant, 1, data)
tests/test_text.py:376: in _do_test_text_strip
tm.assert_series_equal(result_fr, result_pd)
pandas/_libs/testing.pyx:64: in pandas._libs.testing.assert_almost_equal
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E AssertionError: Series are different
E
E Series values are different (100.0 %)
E [index]: [0]
E [left]: [ ]
E [right]: []
pandas/_libs/testing.pyx:178: AssertionError
------------------------------------------------------------------------------------------------ Hypothesis ------------------------------------------------------------------------------------------------
Falsifying example: test_text_strip(
fletcher_variant='chunked', data=['\xa0'],