Skip to content

REF/TST: Finish pytest idiom in parser tests #23863

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
Nov 23, 2018

Conversation

gfyoung
Copy link
Member

@gfyoung gfyoung commented Nov 22, 2018

Adds more idiom to the following:

  • parser/usecols --> parser/test_usecols
  • parser/quoting --> parser/test_quoting
  • parser/common --> parser/test_common
  • parser/python_parser_only --> parser/test_python_parser_only

Also:

  • Finally delete parser/test_parsers! 🎉
  • Small bug in capture_stdout in which we forgot to use compat.wraps.

Builds off of #23712.

@gfyoung gfyoung added Refactor Internal refactoring of code Testing pandas testing functions or related to the test suite IO CSV read_csv, to_csv labels Nov 22, 2018
@gfyoung gfyoung added this to the 0.24.0 milestone Nov 22, 2018
@pep8speaks
Copy link

Hello @gfyoung! Thanks for submitting the PR.

@gfyoung gfyoung force-pushed the pytest-parsers-idiom-done branch 2 times, most recently from 424f857 to 94b5524 Compare November 22, 2018 23:09
Adds more idiom to the following:

* parser/common --> parser/test_common
* parser/quoting --> parser/test_quoting
* parser/usecols --> parser/test_usecols
* parser/python_parser_only -->
parser/test_python_parser_only

Also:

* Finally delete parser/test_parsers!
* Bug in capture_stdout decorator in which
we were forgetting to use compat.wraps.

Builds off of pandas-devgh-23712.
@gfyoung gfyoung force-pushed the pytest-parsers-idiom-done branch from 94b5524 to d35a2c4 Compare November 22, 2018 23:56
@gfyoung gfyoung added the Bug label Nov 22, 2018
@codecov
Copy link

codecov bot commented Nov 23, 2018

Codecov Report

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

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #23863      +/-   ##
==========================================
+ Coverage   92.28%   92.29%   +<.01%     
==========================================
  Files         161      161              
  Lines       51500    51500              
==========================================
+ Hits        47528    47533       +5     
+ Misses       3972     3967       -5
Flag Coverage Δ
#multiple 90.69% <100%> (ø) ⬆️
#single 42.43% <100%> (+0.11%) ⬆️
Impacted Files Coverage Δ
pandas/util/testing.py 86.09% <100%> (ø) ⬆️
pandas/io/parsers.py 95.29% <0%> (-0.07%) ⬇️
pandas/io/common.py 72.86% <0%> (+2.32%) ⬆️

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 20ae454...d35a2c4. Read the comment docs.

@jreback jreback merged commit 70b99bc into pandas-dev:master Nov 23, 2018
@jreback
Copy link
Contributor

jreback commented Nov 23, 2018

thanks!

@gfyoung gfyoung deleted the pytest-parsers-idiom-done branch November 23, 2018 08:02
Pingviinituutti pushed a commit to Pingviinituutti/pandas that referenced this pull request Feb 28, 2019
Adds more idiom to the following:

* parser/common --> parser/test_common
* parser/quoting --> parser/test_quoting
* parser/usecols --> parser/test_usecols
* parser/python_parser_only -->
parser/test_python_parser_only

Also:

* Finally delete parser/test_parsers!
* Bug in capture_stdout decorator in which
we were forgetting to use compat.wraps.

Builds off of pandas-devgh-23712.
Pingviinituutti pushed a commit to Pingviinituutti/pandas that referenced this pull request Feb 28, 2019
Adds more idiom to the following:

* parser/common --> parser/test_common
* parser/quoting --> parser/test_quoting
* parser/usecols --> parser/test_usecols
* parser/python_parser_only -->
parser/test_python_parser_only

Also:

* Finally delete parser/test_parsers!
* Bug in capture_stdout decorator in which
we were forgetting to use compat.wraps.

Builds off of pandas-devgh-23712.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug IO CSV read_csv, to_csv Refactor Internal refactoring of code Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants