-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Replace internal config._origargs with invocation_params.args #5644
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
Conversation
@@ -915,7 +915,7 @@ def parse(self, args, addopts=True): | |||
assert not hasattr( | |||
self, "args" | |||
), "can only parse cmdline args at most once per Config object" | |||
self._origargs = args | |||
assert self.invocation_params.args == args |
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.
Just for testing / ensuring - can be removed, and/or improved (msg).
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.
@RonnyPfannschmidt / @nicoddemus
What about this?
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.
hmm, that one seems ok to me
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.
Agreed, nothing fishy at first glance.
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.
👍
Codecov Report
@@ Coverage Diff @@
## features #5644 +/- ##
============================================
+ Coverage 94.78% 94.84% +0.06%
============================================
Files 117 117
Lines 25726 25726
Branches 2490 2490
============================================
+ Hits 24385 24401 +16
+ Misses 1021 1009 -12
+ Partials 320 316 -4
Continue to review full report at Codecov.
|
Added in #5564.