-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
MAINT: Add more pytest idiom to parser tests #23712
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
MAINT: Add more pytest idiom to parser tests #23712
Conversation
Hello @gfyoung! Thanks for submitting the PR.
|
951f0f8
to
fb8d74a
Compare
This is only a start. To keep the diff small, we are only converting c_parser_only. The other test classes will soon follow.
fb8d74a
to
d916288
Compare
Codecov Report
@@ Coverage Diff @@
## master #23712 +/- ##
=======================================
Coverage 92.24% 92.24%
=======================================
Files 161 161
Lines 51336 51336
=======================================
Hits 47357 47357
Misses 3979 3979
Continue to review full report at Codecov.
|
how do you run all of the tests on the c parser though? don't you need to also inject the fixture into the current test_parser.py? |
@jreback @jbrockmendel : Here is the plan:
Once that is done, we no longer need Hopefully that clears things up? |
@jreback : Any further thoughts on this? |
lgtm @gfyoung keep em coming! |
Adds more idiom to the following: * parser/comment --> parser/test_comment * parser/converters --> parser/test_converters * parser/compression --> parser/test_compression Builds off of pandas-devgh-23712.
Adds more idiom to the following: * parser/comment --> parser/test_comment * parser/converters --> parser/test_converters * parser/compression --> parser/test_compression Builds off of pandas-devgh-23712.
Adds more idiom to the following: * parser/comment --> parser/test_comment * parser/converters --> parser/test_converters * parser/compression --> parser/test_compression * parser/dialect --> parser/test_dialect Builds off of pandas-devgh-23712.
Adds more idiom to the following: * parser/comment --> parser/test_comment * parser/converters --> parser/test_converters * parser/compression --> parser/test_compression * parser/dialect --> parser/test_dialect Builds off of pandas-devgh-23712.
Adds more idiom to the following: * parser/comment --> parser/test_comment * parser/converters --> parser/test_converters * parser/compression --> parser/test_compression * parser/dialect --> parser/test_dialect Builds off of gh-23712.
This is only a start. To keep the diff small, we are only converting c_parser_only. The other test classes will soon follow.
Adds more idiom to the following: * parser/comment --> parser/test_comment * parser/converters --> parser/test_converters * parser/compression --> parser/test_compression * parser/dialect --> parser/test_dialect Builds off of pandas-devgh-23712.
Adds more idiom to the following: * parser/header --> parser/test_header * parser/dtypes --> parser/test_dtypes * parser/index_col --> parser/test_index_col * parser/mangle_dupes --> parser/test_mangle_dupes Builds off of pandas-devgh-23712.
Adds more idiom to the following: * parser/header --> parser/test_header * parser/dtypes --> parser/test_dtypes * parser/index_col --> parser/test_index_col * parser/mangle_dupes --> parser/test_mangle_dupes Builds off of pandas-devgh-23712.
Adds more idiom to the following: * parser/header --> parser/test_header * parser/dtypes --> parser/test_dtypes * parser/index_col --> parser/test_index_col * parser/mangle_dupes --> parser/test_mangle_dupes Builds off of pandas-devgh-23712.
Adds more idiom to the following: * parser/header --> parser/test_header * parser/dtypes --> parser/test_dtypes * parser/index_col --> parser/test_index_col * parser/mangle_dupes --> parser/test_mangle_dupes Builds off of gh-23712.
Adds more idiom to the following: * parser/na_values --> parser/test_na_values * parser/parse_dates --> parser/test_parse_dates * parser/multithread --> parser/test_multi_thread Also adds new test suite: test_date_converters Builds off of pandas-devgh-23712.
Adds more idiom to the following: * parser/skiprows --> parser/test_skiprows * parser/na_values --> parser/test_na_values * parser/parse_dates --> parser/test_parse_dates * parser/multithread --> parser/test_multi_thread Also adds new test suite: test_date_converters Builds off of pandas-devgh-23712.
Adds more idiom to the following: * parser/skiprows --> parser/test_skiprows * parser/na_values --> parser/test_na_values * parser/parse_dates --> parser/test_parse_dates * parser/multithread --> parser/test_multi_thread Also adds new test suite: test_date_converters Builds off of pandas-devgh-23712.
Adds more idiom to the following: * parser/skiprows --> parser/test_skiprows * parser/na_values --> parser/test_na_values * parser/parse_dates --> parser/test_parse_dates * parser/multithread --> parser/test_multi_thread Also adds new test suite: test_date_converters Builds off of pandas-devgh-23712.
Adds more idiom to the following: * parser/skiprows --> parser/test_skiprows * parser/na_values --> parser/test_na_values * parser/parse_dates --> parser/test_parse_dates * parser/multithread --> parser/test_multi_thread Also adds new test suite: test_date_converters Builds off of pandas-devgh-23712.
Adds more idiom to the following: * parser/skiprows --> parser/test_skiprows * parser/na_values --> parser/test_na_values * parser/parse_dates --> parser/test_parse_dates * parser/multithread --> parser/test_multi_thread Also adds new test suite: test_date_converters Builds off of gh-23712.
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 deletes parser/test_parsers. Builds off of pandas-devgh-23712.
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 deletes parser/test_parsers. Builds off of pandas-devgh-23712.
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 deletes parser/test_parsers. Builds off of pandas-devgh-23712.
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.
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 gh-23712.
This is only a start. To keep the diff small, we are only converting c_parser_only. The other test classes will soon follow.
Adds more idiom to the following: * parser/comment --> parser/test_comment * parser/converters --> parser/test_converters * parser/compression --> parser/test_compression * parser/dialect --> parser/test_dialect Builds off of pandas-devgh-23712.
Adds more idiom to the following: * parser/header --> parser/test_header * parser/dtypes --> parser/test_dtypes * parser/index_col --> parser/test_index_col * parser/mangle_dupes --> parser/test_mangle_dupes Builds off of pandas-devgh-23712.
Adds more idiom to the following: * parser/skiprows --> parser/test_skiprows * parser/na_values --> parser/test_na_values * parser/parse_dates --> parser/test_parse_dates * parser/multithread --> parser/test_multi_thread Also adds new test suite: test_date_converters Builds off of pandas-devgh-23712.
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.
This is only a start. To keep the diff small, we are only converting c_parser_only. The other test classes will soon follow.
Adds more idiom to the following: * parser/comment --> parser/test_comment * parser/converters --> parser/test_converters * parser/compression --> parser/test_compression * parser/dialect --> parser/test_dialect Builds off of pandas-devgh-23712.
Adds more idiom to the following: * parser/header --> parser/test_header * parser/dtypes --> parser/test_dtypes * parser/index_col --> parser/test_index_col * parser/mangle_dupes --> parser/test_mangle_dupes Builds off of pandas-devgh-23712.
Adds more idiom to the following: * parser/skiprows --> parser/test_skiprows * parser/na_values --> parser/test_na_values * parser/parse_dates --> parser/test_parse_dates * parser/multithread --> parser/test_multi_thread Also adds new test suite: test_date_converters Builds off of pandas-devgh-23712.
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.
This is only a start. To keep the diff small, we are only converting
c_parser_only
.If this looks good, the other test classes will soon follow in subsequent PR's.
cc @jreback