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

Improve docs of pytest.importorskip #5718

Merged
merged 1 commit into from
Aug 9, 2019

Conversation

timhoffm
Copy link
Contributor

@timhoffm timhoffm commented Aug 9, 2019

  • Link function docstring in description.
  • Document return value.
  • Add example usage to docstring.

@codecov
Copy link

codecov bot commented Aug 9, 2019

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.

Copy link
Member

@nicoddemus nicoddemus left a comment

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.

None yet

2 participants