Skip to content

Improve docs of pytest.importorskip - #5718

Merged
nicoddemus merged 1 commit into
pytest-dev:masterfrom
timhoffm:doc-importorskip
Aug 9, 2019
Merged

Improve docs of pytest.importorskip#5718
nicoddemus merged 1 commit into
pytest-dev:masterfrom
timhoffm:doc-importorskip

Conversation

@timhoffm

@timhoffm timhoffm commented Aug 9, 2019

Copy link
Copy Markdown
Contributor
  • Link function docstring in description.
  • Document return value.
  • Add example usage to docstring.

@codecov

codecov Bot commented Aug 9, 2019

Copy link
Copy Markdown

Codecov Report

Merging #5718 into master will decrease coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5718      +/-   ##
==========================================
- Coverage   96.16%   96.15%   -0.02%     
==========================================
  Files         117      117              
  Lines       25864    25864              
  Branches     2498     2498              
==========================================
- Hits        24873    24869       -4     
- Misses        690      695       +5     
+ Partials      301      300       -1
Impacted Files Coverage Δ
src/_pytest/outcomes.py 98.46% <ø> (ø) ⬆️
src/_pytest/doctest.py 94.38% <0%> (-2.25%) ⬇️
src/_pytest/pastebin.py 91.22% <0%> (+3.5%) ⬆️

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 5ecac3c...b095e0d. Read the comment docs.

@nicoddemus nicoddemus left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

@nicoddemus
nicoddemus merged commit 8ffa3aa into pytest-dev:master Aug 9, 2019
@timhoffm
timhoffm deleted the doc-importorskip branch August 9, 2019 21:46
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.

2 participants