-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Refactor class StepwisePlugin. #4335
Conversation
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.
Have not really checked, but see #4304 (changelog file should be improved/renamed).
Does this fix it completely? A test would be good to have!
changelog/4333.bugfix.rst
Outdated
@@ -0,0 +1 @@ | |||
pytest version 3.10.1 Fails on python2.7 |
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.
3.10.1 is not there yet.. ;)
Also this should be more specific about the fix.
Codecov Report
@@ Coverage Diff @@
## master #4335 +/- ##
==========================================
- Coverage 95.84% 95.84% -0.01%
==========================================
Files 111 111
Lines 24880 24884 +4
Branches 2430 2432 +2
==========================================
+ Hits 23847 23849 +2
Misses 736 736
- Partials 297 299 +2
Continue to review full report at Codecov.
|
Initialize class properties. Check attributes before accessing them, LBYL.
ca95ca1
to
d4d1bf4
Compare
@blueyed, this seems to fix the issue. I would love to make a test case but I don't seem to get the organization of the tests.
If the test are to pass, testing that is covered
|
Thanks @henrykironde for the contribution. As @blueyed mentioned before, this is a duplicate of #4304. In pytest many contributed tests use the Closing this now as this issue in particular was already fixed by #4304, but we look forward for your future contributions. 👍 |
Initialize class properties
Check attributes before accessing them, LBYL
checklist
changelog
folder, with a name like<ISSUE NUMBER>.<TYPE>.rst
. See changelog/README.rst for details.master
branch for bug fixes, documentation updates and trivial changes.features
branch for new features and removals/deprecations.AUTHORS
in alphabetical order;ref: #4333