Skip to content

Update fakedata.py #780

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

Merged
merged 1 commit into from
Mar 9, 2019
Merged

Update fakedata.py #780

merged 1 commit into from
Mar 9, 2019

Conversation

willfrey
Copy link
Contributor

@willfrey willfrey commented Mar 8, 2019

Raise an IndexError for FakeData.__getitem__() if the index would be out of range.

Raise an `IndexError` for `FakeData.__getitem__()` if the index would be out of range.
@codecov-io
Copy link

codecov-io commented Mar 8, 2019

Codecov Report

Merging #780 into master will decrease coverage by 0.02%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #780      +/-   ##
=========================================
- Coverage   38.13%   38.1%   -0.03%     
=========================================
  Files          32      32              
  Lines        3126    3128       +2     
  Branches      487     488       +1     
=========================================
  Hits         1192    1192              
- Misses       1855    1857       +2     
  Partials       79      79
Impacted Files Coverage Δ
torchvision/datasets/fakedata.py 22.85% <0%> (-1.39%) ⬇️

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 9d9f48a...4be8106. Read the comment docs.

Copy link
Member

@fmassa fmassa left a comment

Choose a reason for hiding this comment

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

Thanks!

@fmassa fmassa merged commit 138b5c2 into pytorch:master Mar 9, 2019
@willfrey willfrey deleted the patch-2 branch March 10, 2019 01:51
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.

3 participants