make tests pass on Windows (64 bit)#197
Conversation
|
Hello @flothesof! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Comment last updated at 2019-09-23 16:06:56 UTC |
adding spaces conforming pep8 rules
Adding spaces according to pep8 rules
|
It looks like it's failing with |
|
I'll try the modifications under Python 2 then. Do we really have to support Python 2 (see https://pythonclock.org/) ? |
|
I know :( |
|
Hi @lasofivec |
|
Thanks for looking into it, I can also check it out, any hint on what you think it is ?
raised from
looks like |
|
I've just stepped through the unit test on Python 3. As far as I understand, test As far as I understand, the error means that the first type in [ 0 10 20] is not an integer type from the list of possible integers types (and is not related to As a side note:
I'm trying to write commit to improve these. |
|
Ok I'll be testing from b2c2894 |
|
Changing the error message was helpful: the latest travis build shows this on Python 2.7. So it seems that we have to add int64 to the list? |
|
After reading the source code more, I think the way the type is checked is weird. |
lasofivec
left a comment
There was a problem hiding this comment.
I agree with everything, we have to see this strange bug.
Just one suggestion for future PR.
We are trying to introduce only PEP8-conforming code, could you please check that your PR passes auto-flake8 test next time ? 🙏 (since your coding style is really good it's just the 80 character rule)
| >>> _format_ind(ind=[0, 3], n=4) | ||
| [True, False, False, True] | ||
|
|
||
| """ |
There was a problem hiding this comment.
👏 👍
Thanks for the doc.
I'm confused... returns
how is this possible? |
The type is already on the list and it's still failing... |
|
I'm going to close this pull request since it is superseded by #199 |
Hi @lasofivec @Didou09
I've just successfully patched my branch from current devel so that tests pass on Windows (64 bit).
This is a follow-up to what we discussed earlier (replacing long by longlong in the Cython source) but simpler: I basically just had to patch a couple of variable initializations and tests. Could you check this out and let me know what you think?
On my machine, all 118 tests pass with this.