Skip to content
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/BUG: some buggy windows tests #10631

Closed
1 of 3 tasks
jreback opened this issue Jul 19, 2015 · 5 comments
Closed
1 of 3 tasks

TST/BUG: some buggy windows tests #10631

jreback opened this issue Jul 19, 2015 · 5 comments
Labels
IO CSV read_csv, to_csv IO JSON read_json, to_json, json_normalize Testing pandas testing functions or related to the test suite Windows Windows OS

Comments

@jreback
Copy link
Contributor

jreback commented Jul 19, 2015

xref #10630

  • csv parsing then turning into a recarray causing segfaults, only when run with the entire parsing tests (e.g. test_parsing.py (2 tests) (DEPR: Deprecate as_recarray in read_csv #13373)
  • in test_libsparse, the test_intersect is segfaulting, not really sure why.
  • in test_ujson with small exponentials, only on win-64 with 2.7.
@jreback jreback added Testing pandas testing functions or related to the test suite IO CSV read_csv, to_csv IO JSON read_json, to_json, json_normalize Windows Windows OS labels Jul 19, 2015
@jreback jreback added this to the Next Major Release milestone Jul 19, 2015
@jreback
Copy link
Contributor Author

jreback commented Jul 19, 2015

cc @Komnomnomnom
cc @mdmueller
cc @selasley

@jreback
Copy link
Contributor Author

jreback commented Jul 19, 2015

I don't think these are actually recent. Its also possible they only happen on my anaconda builds (these came to light when I turned on binstar). Though these ARE build with the correct visual studios, so not really sure what actually is the issue.

@chris-b1
Copy link
Contributor

chris-b1 commented Sep 2, 2015

test_resample_group_info and test_series_groupby_nunique fail for me on python 2.7 on win64 as below (passes on Travis); I haven't dug in to see what's going on.

Attribute "dtype" are different
[left]:  int32
[right]: int64

@jreback
Copy link
Contributor Author

jreback commented Sep 2, 2015

@chris-b1 these are usually very easy changes. I have a windows ci, but don't always watch it.

if the tests does something like:

df = DataFrame({'A' : np.array(...)})

this will fail (say you are doing a resample or wahtever), because the np.array defaults to int32 on windows, and thus your comparison is int32 (not int64 which is what pandas makes everything if not explict).

Soln is np.array(...., dtype='int64')

@mroeschke
Copy link
Member

Don't think this is relevant anymore. test_libsparse isn't tested anymore and 2.7 isn't supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IO CSV read_csv, to_csv IO JSON read_json, to_json, json_normalize Testing pandas testing functions or related to the test suite Windows Windows OS
Projects
None yet
Development

No branches or pull requests

3 participants