-
-
Notifications
You must be signed in to change notification settings - Fork 18.6k
MAINT: Strip internals from TestCase class #16016
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: Strip internals from TestCase class #16016
Conversation
6e7b193
to
e79aaa7
Compare
Codecov Report
@@ Coverage Diff @@
## master #16016 +/- ##
==========================================
- Coverage 91% 90.99% -0.01%
==========================================
Files 153 153
Lines 50481 50469 -12
==========================================
- Hits 45938 45926 -12
Misses 4543 4543
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #16016 +/- ##
==========================================
- Coverage 90.99% 90.99% -0.01%
==========================================
Files 154 154
Lines 50484 50471 -13
==========================================
- Hits 45940 45928 -12
+ Misses 4544 4543 -1
Continue to review full report at Codecov.
|
An alternative would be to keep it as class methods, but remove the |
can you rebase. lgtm otherwise. |
this is a precursor step to this. That's the goal. |
No, I mean that, if |
e79aaa7
to
b2b6802
Compare
@jorisvandenbossche : Perhaps, but why should we though? These methods were never really implemented as instance methods in the first place. |
yeah I think we should move aways from using |
@jreback , @jorisvandenbossche : Rebased, all green, and ready to merge. |
thanks! |
TestCase
is a vestige from thenosetest
framework. We want to discourage usage ofself.*
method calls under our newpytest
framework, so this PR strips as much as possible from the class.Partially addresses #15990.