Repository navigation
skip test also on windows not only appveyor - #4565
Conversation
|
I think the failure is unrelated to this PR but I'm not sure. |
|
Hmm... It looks like this being appveyor-only traces back to @Cadair in b2f90ae - @Cadair, can you clarify if this is an appveyor-specific issue vs. windows always or windows sometimes? (@embray might also know) It looks like there's a few other cases where it's appveyor-specific. @MSeifert04, do all the other tests pass for you, and only this one fails in windows? Agree that the failure looks unrelated. I restarted the build to see if it's transient |
|
Hmm, ok. I'm not well versed in the windows peculiarities... But do you have a sense of why this is the case? I.e., is this specific test doing something that changed recently in Win 10 or something? I just want to make sure it's not something we should actually fix, as opposed to just skipping the test. |
|
@eteq - I think it's an overflow issue but I don't know where it happens, I don't have too much insight concerning I guess something is going wrong during the while for I think fixing it would be great but is beyond my capabilities. |
|
I couldn't let this issue go. I think I might have it. It passes locally and I hope it passes AppVeyor as well. |
|
Fascinating, it's a bit odd that I've never noticed windows creates |
|
@MSeifert04 - wow, thanks for the investigation. It's super great to see when a PR gets rid of skipifs and/or xfails :) |
|
Yes, but it feels like a hack since Does anyone know if that is intentional? I'm very inexperienced with the interior of fits files. |
|
This isn't a Windows thing per se, I don't think. It's a 32-bit Python thing. |
I bet @embray knows? |
|
@embray I think I'm using Anaconda 64bit on Windows 64-bit and python also says it 64bit. So it's probably a numpy 64-bit thing. Also if you have some time, I mentioned in #4565 (comment) that the order of operations during scaling might be problematic. Could you have a look? |
|
IIRC the FITS standard doesn't say much about whether this is correct or incorrect, and existing FITS software just wraps around for large BZERO. This has never been a problem that I can think of. |
|
ok, thank you! |
|
Alright, so I will make the command decision to merge this now as it gets more passing and testing. But feel free to try to re-order things to make the conversion earlier if you think that makes sense, @MSeifert04 - if the standard doesn't say we are free to do whatever we think is the most sensible, I suppose. |
skip test also on windows not only appveyor
|
@eteq - I just noticed I forgot to delete the I also think I'll let the conversion as is. Noone has been troubled so far and currently increasing the dtype (int->float) is problemativ. If I changed the order the problem would occur while decreasing the dtype (float->int). |
skip test also on windows not only appveyor
skip test also on windows not only appveyor Backport to v1.0.x required manual merge of: astropy/io/fits/tests/test_uint.py
Every time I run the full astropy tests I get this failure because the test is only skipped on AppVeyor not on windows.