-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
TST: win32 fixes #5474
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TST: win32 fixes #5474
Conversation
@@ -1344,7 +1344,7 @@ def test_inplace_mutation_resets_values(self): | |||
|
|||
# make sure label setting works too | |||
labels2 = [[0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0]] | |||
exp_values = np.array([(1, 'a')] * 6, dtype=object) | |||
exp_values = np.array([(1L, 'a')] * 6, dtype=object) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can't remember if this works in Python 3, but if it doesn't, import long
from compat.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep...had to add that
so do you have any sense of why these issues occur? Just 32 bit issues? specific to windows? Just want to be able to keep in mind in the future. |
@jtratner these are all because the tests on a 32-bit windows default with int32 for numpy arange (so the tests are wrong), e.g. in this case numpy creates these as 32-bit integers but they are really 64-bit in the implementation |
Can we add a 32bit Travis build? Would that help? |
I think that travis was using 32-bit builds...now seem 64-bit.... it DOES help catch stuff (though this is really windows specific oddities) |
TST don't compare invalid indices in eval operations (GH5467) TST: invalid assignment for np.timedelta64 (GH5465) TST: skip locale checks on windows (GH5464) TST: dtype comp issue on windows in test_indexing (GH5466) TST: skip test_pow on windows (GH5467)
TST: test_indexing dtype comps, closes #5466
TST don't compare invalid indices in eval operations, closes #5467
TST: invalid assignment for np.timedelta64 closes #5465
TST: skip locale checks on windows cloes #5464
TST: dtype comp issue on windows in test_indexing (GH5466)
TST: skip test_pow on windows (GH5467)