Skip to content
This repository has been archived by the owner. It is now read-only.

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

Merged
merged 2 commits into from May 1, 2020
Merged

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

merged 2 commits into from May 1, 2020

Conversation

@person142
Copy link
Collaborator

@person142 person142 commented Apr 24, 2020

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
Collaborator Author

@person142 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
Collaborator Author

@person142 person142 commented Apr 25, 2020

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.

person142 added 2 commits Apr 24, 2020
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 person142 force-pushed the person142:run-tests branch from 629e2c3 to 2c6b970 May 1, 2020
@person142
Copy link
Collaborator Author

@person142 person142 commented May 1, 2020

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
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@rgommers
Copy link
Member

@rgommers 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.
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.