Skip to content

TST: Parameterize more tests #21873

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
Jul 13, 2018

Conversation

gfyoung
Copy link
Member

@gfyoung gfyoung commented Jul 12, 2018

Add parameterization to the following tests:

  • frame/test_dtypes.py
  • series/indexing/test_boolean.py
  • reshape/merge/test_merge_asof.py

@gfyoung gfyoung added Testing pandas testing functions or related to the test suite Clean labels Jul 12, 2018
@gfyoung gfyoung added this to the 0.24.0 milestone Jul 12, 2018
@gfyoung gfyoung force-pushed the parametrize-more-tests branch from 78677ef to b8fd10b Compare July 12, 2018 05:21
@@ -21,6 +21,11 @@
import pandas as pd


@pytest.fixture(params=[str, compat.text_type])
Copy link
Contributor

Choose a reason for hiding this comment

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

may consider in the future to move this fixture to conftest (needs a good name though)

@jreback
Copy link
Contributor

jreback commented Jul 12, 2018

lgtm. merge on green.

* frame/test_dtypes.py
* series/indexing/test_boolean.py
* reshape/merge/test_merge_asof.py
@gfyoung gfyoung force-pushed the parametrize-more-tests branch from b8fd10b to d9a3315 Compare July 12, 2018 21:24
@codecov
Copy link

codecov bot commented Jul 12, 2018

Codecov Report

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

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #21873      +/-   ##
==========================================
- Coverage   91.91%   91.91%   -0.01%     
==========================================
  Files         164      164              
  Lines       49992    49992              
==========================================
- Hits        45952    45951       -1     
- Misses       4040     4041       +1
Flag Coverage Δ
#multiple 90.3% <ø> (-0.01%) ⬇️
#single 42.16% <ø> (ø) ⬆️
Impacted Files Coverage Δ
pandas/core/reshape/merge.py 94.1% <0%> (-0.16%) ⬇️

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 bdb6168...d9a3315. Read the comment docs.

@gfyoung
Copy link
Member Author

gfyoung commented Jul 13, 2018

Finally green! Merging.

@gfyoung gfyoung merged commit 365eac4 into pandas-dev:master Jul 13, 2018
@gfyoung gfyoung deleted the parametrize-more-tests branch July 13, 2018 04:55
Sup3rGeo pushed a commit to Sup3rGeo/pandas that referenced this pull request Oct 1, 2018
* frame/test_dtypes.py
* series/indexing/test_boolean.py
* reshape/merge/test_merge_asof.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Clean Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants