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
tentative fix is easy -- remove '>' from type definition. But I wondered if that is desired -- does pandas assume to enforce little-endianness or not? if it doesn't force -- then actually a proper fix, to maintain the same check of consistent endianness, would be to prefix with = and not <.
Please advise!
The text was updated successfully, but these errors were encountered:
I think this specific case is a bug in the test - just glancing at .strftime it shouldn't make any assumptions about endianness.
Some prior discussion here - #11282 (comment) - there shouldn't really be places where little-endian is enforced/assumed, but at the same time we don't test a big-endian platform, so there probably are places where it has snuck in.
Code Sample, a copy-pastable example if possible
looking at code of pandas/tests/series/test_datetime_values.py which was introduced in c76ca44 I believe:
Problem description
above (and some other tests... see e.g. https://buildd.debian.org/status/fetch.php?pkg=pandas&arch=s390x&ver=0.19.1-2&stamp=1480348101) lead to failed tests... which sometimes look as informative as
;-)
but the real reason is different endianness:
tentative fix is easy -- remove '>' from type definition. But I wondered if that is desired -- does pandas assume to enforce little-endianness or not? if it doesn't force -- then actually a proper fix, to maintain the same check of consistent endianness, would be to prefix with
=
and not<
.Please advise!
The text was updated successfully, but these errors were encountered: