Skip to content
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

Replace internal config._origargs with invocation_params.args #5644

Merged
merged 1 commit into from
Jul 23, 2019

Conversation

blueyed
Copy link
Contributor

@blueyed blueyed commented Jul 23, 2019

Added in #5564.

@@ -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
Copy link
Contributor Author

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).

Copy link
Contributor Author

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?

Copy link
Member

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

Copy link
Member

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.

Copy link
Contributor Author

@blueyed blueyed Jul 23, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@codecov
Copy link

codecov bot commented Jul 23, 2019

Codecov Report

Merging #5644 into features will increase coverage by 0.06%.
The diff coverage is 100%.

Impacted file tree graph

@@             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
Impacted Files Coverage Δ
src/_pytest/helpconfig.py 97.52% <ø> (ø) ⬆️
src/_pytest/config/__init__.py 94.41% <100%> (ø) ⬆️
testing/test_config.py 99.84% <100%> (ø) ⬆️
src/_pytest/terminal.py 93.02% <0%> (+2.27%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c05fcc8...3c74389. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants