Skip to content
This repository was archived by the owner on Jun 10, 2020. It is now read-only.

TST: also run the code in "pass" #70

Merged
merged 2 commits into from
May 1, 2020
Merged

Conversation

person142
Copy link
Member

It seems fair that the code in pass should also run; i.e. that
directory shouldn't contain mypy false positives. Add a test that runs
the modules in that directory and fix the resulting runtime errors.

@person142
Copy link
Member Author

person142 commented Apr 24, 2020

Some of the failures are expected in that they are places where the stubs are not yet good enough to catch the issue, but some of these might merit issues being opened.

Hm and CI is failing on Python 3.7 only; that's interesting.

@person142
Copy link
Member Author

Ok, on 3.7 CI was running NumPy 1.14.2 which is what was causing the failures. I went ahead and bumped the minimum version to 1.16.0; that still goes 3 releases back (soon to be 4), so should be fine I think.

It seems fair that the code in pass should also run; i.e. that
directory shouldn't contain mypy false positives. Add a test that runs
the modules in that directory and fix the resulting runtime errors.
@person142
Copy link
Member Author

Fixes for some of the things addressed in this PR have been merged now, so rebased to include them.

@rgommers rgommers merged commit caef625 into numpy:master May 1, 2020
@rgommers
Copy link
Member

rgommers commented May 1, 2020

Merged, thanks @person142

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants