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

Produce a warning when unknown arguments are passed to pytest.param() #5097

Merged
merged 1 commit into from
Apr 12, 2019
Merged

Produce a warning when unknown arguments are passed to pytest.param() #5097

merged 1 commit into from
Apr 12, 2019

Conversation

asottile
Copy link
Member

Resolves #5092

@codecov
Copy link

codecov bot commented Apr 12, 2019

Codecov Report

Merging #5097 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5097      +/-   ##
==========================================
+ Coverage   96.06%   96.06%   +<.01%     
==========================================
  Files         114      114              
  Lines       25776    25786      +10     
  Branches     2549     2549              
==========================================
+ Hits        24762    24772      +10     
  Misses        704      704              
  Partials      310      310
Impacted Files Coverage Δ
testing/test_mark.py 99.39% <100%> (+0.01%) ⬆️
src/_pytest/outcomes.py 96.1% <100%> (-0.05%) ⬇️
src/_pytest/deprecated.py 100% <100%> (ø) ⬆️
src/_pytest/mark/structures.py 92.73% <100%> (+0.12%) ⬆️
src/_pytest/python_api.py 97.48% <100%> (ø) ⬆️

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 a9e850f...43e7401. Read the comment docs.

changelog/5092.bugfix.rst Outdated Show resolved Hide resolved
src/_pytest/mark/structures.py Show resolved Hide resolved
@asottile asottile merged commit c3b7efc into pytest-dev:master Apr 12, 2019
@asottile asottile deleted the unknown_kwargs_param branch April 12, 2019 20:30
@blueyed
Copy link
Contributor

blueyed commented Apr 14, 2019

In hindsight this should not have been done for master maybe.. just a thought.

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.

nested pytest.mark.parametrize ignore mark=xfail or mark=skip
2 participants