-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
MAINT: Blacklist np.array_equal in tests #18318
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
MAINT: Blacklist np.array_equal in tests #18318
Conversation
This initial commit should fail when Travis lints the codebase. I want to check to make sure that the check works before patching the expected lint failures. |
Codecov Report
@@ Coverage Diff @@
## master #18318 +/- ##
==========================================
- Coverage 91.39% 91.37% -0.02%
==========================================
Files 164 164
Lines 49808 49808
==========================================
- Hits 45520 45511 -9
- Misses 4288 4297 +9
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #18318 +/- ##
==========================================
- Coverage 91.38% 91.34% -0.05%
==========================================
Files 164 164
Lines 49780 49780
==========================================
- Hits 45491 45470 -21
- Misses 4289 4310 +21
Continue to review full report at Codecov.
|
ci/lint.sh
Outdated
@@ -72,7 +72,7 @@ if [ "$LINT" ]; then | |||
echo "Linting *.c and *.h DONE" | |||
|
|||
echo "Check for invalid testing" | |||
grep -r -E --include '*.py' --exclude testing.py '(numpy|np)\.testing' pandas | |||
grep -r -E --include '*.py' --exclude testing.py '(numpy|np)\.testing|(numpy|np)\.array_equal' pandas/tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
grep -r -E --include '*.py' --exclude testing.py '(numpy|np)(\.testing|\.array_equal)' pandas/tests/
a little more consise, can you list in a comment the things we are looking, e.g
np.testing
np.array_equal
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
|
||
# with dup column support this method was taken out | ||
# GH3679 | ||
pytest.skip("skipping for now") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no problem removing, though his should in theory work now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The test doesn't work period. The function "split_block_at" doesn't exist anywhere.
Test that uses the function call uses functionality that doesn't exist anymore in pandas.
38fc56e
to
6bd5f3c
Compare
lgtm. merge on green. |
Follow-up to #18087.