Skip to content

EHN: Add filename to FileNotFoundError #24266

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
Jan 5, 2019
Merged

EHN: Add filename to FileNotFoundError #24266

merged 1 commit into from
Jan 5, 2019

Conversation

milliams
Copy link
Contributor

When pandas raises a FileNotFoundError, it was not setting the filename component.

This adds in that feature as well a test for it.

@pep8speaks
Copy link

pep8speaks commented Dec 13, 2018

Hello @milliams! Thanks for updating the PR.

Cheers ! There are no PEP8 issues in this Pull Request. 🍻

Comment last updated on January 05, 2019 at 19:42 Hours UTC

@codecov
Copy link

codecov bot commented Dec 13, 2018

Codecov Report

Merging #24266 into master will increase coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #24266      +/-   ##
==========================================
+ Coverage   92.22%   92.22%   +<.01%     
==========================================
  Files         162      162              
  Lines       51785    51785              
==========================================
+ Hits        47758    47759       +1     
+ Misses       4027     4026       -1
Flag Coverage Δ
#multiple 90.62% <ø> (ø) ⬆️
#single 43.01% <ø> (ø) ⬆️
Impacted Files Coverage Δ
pandas/util/testing.py 87.41% <0%> (-0.1%) ⬇️
pandas/io/json/json.py 93.09% <0%> (+0.47%) ⬆️

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 c037128...4656b3e. Read the comment docs.

@gfyoung gfyoung added Enhancement Error Reporting Incorrect or improved errors from pandas IO Data IO issues that don't fit into a more specific label labels Dec 22, 2018
@jreback
Copy link
Contributor

jreback commented Dec 23, 2018

@milliams can you merge master and update to comments

@jreback
Copy link
Contributor

jreback commented Jan 5, 2019

closing as stale, if you want to continue, pls ping.

@jreback jreback closed this Jan 5, 2019
@gfyoung
Copy link
Member

gfyoung commented Jan 5, 2019

@jreback : I'm going to push this through.

@gfyoung gfyoung reopened this Jan 5, 2019
@gfyoung
Copy link
Member

gfyoung commented Jan 5, 2019

@jreback : I rebased and addressed my own comment, and all is still green. PTAL.

@pandas-dev pandas-dev deleted a comment from codecov bot Jan 5, 2019
@jreback jreback added this to the 0.24.0 milestone Jan 5, 2019
@jreback jreback merged commit e2fb47b into pandas-dev:master Jan 5, 2019
@jreback
Copy link
Contributor

jreback commented Jan 5, 2019

thanks @milliams & @gfyoung

@milliams milliams deleted the filenotfounderror branch January 7, 2019 09:39
Pingviinituutti pushed a commit to Pingviinituutti/pandas that referenced this pull request Feb 28, 2019
Pingviinituutti pushed a commit to Pingviinituutti/pandas that referenced this pull request Feb 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Error Reporting Incorrect or improved errors from pandas IO Data IO issues that don't fit into a more specific label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants