Skip to content
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

TST: convert yield based test_pickle.py to parametrized to remove warnings #15416

Closed
wants to merge 1 commit into from

Conversation

jreback
Copy link
Contributor

@jreback jreback commented Feb 15, 2017

xref #15341

@jreback jreback added the Testing pandas testing functions or related to the test suite label Feb 15, 2017
@jreback jreback added this to the 0.20.0 milestone Feb 15, 2017
# if available
comparator = "compare_{typ}_{dt}".format(typ=typ, dt=dt)

m = sys.modules['pandas.tests.io.test_pickle']
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@TomAugspurger
cc @QuLogic

any better way to do this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

actually using globals() I think is the right way

@codecov-io
Copy link

Codecov Report

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

@@            Coverage Diff             @@
##           master   #15416      +/-   ##
==========================================
+ Coverage   90.36%   90.36%   +<.01%     
==========================================
  Files         135      135              
  Lines       49438    49438              
==========================================
+ Hits        44675    44677       +2     
+ Misses       4763     4761       -2
Impacted Files Coverage Δ
pandas/tseries/index.py 95.32% <ø> (-0.1%)
pandas/util/testing.py 81.97% <ø> (+0.18%)
pandas/core/common.py 91.36% <ø> (+0.33%)

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 d6f8b46...a6af576. Read the comment docs.

@jreback jreback closed this in f2246cf Feb 16, 2017
@TomAugspurger TomAugspurger mentioned this pull request Feb 16, 2017
17 tasks
AnkurDedania pushed a commit to AnkurDedania/pandas that referenced this pull request Mar 21, 2017
…nings

xref pandas-dev#15341

Author: Jeff Reback <[email protected]>

Closes pandas-dev#15416 from jreback/warn and squashes the following commits:

a6af576 [Jeff Reback] TST: convert yield based test_pickle.py to parametrized to remove warnings xref pandas-dev#15341
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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