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

MAINT: Remove self.assertTrue from testing #16158

Merged
merged 1 commit into from
Apr 27, 2017

Conversation

gfyoung
Copy link
Member

@gfyoung gfyoung commented Apr 27, 2017

Title is self-explanatory.

Partially addresses #15990.

@gfyoung
Copy link
Member Author

gfyoung commented Apr 27, 2017

Appveyor failing due to network issues. Travis and Circle seem okay.

@jreback : Could you restart the Appveyor build?

@jreback jreback added the Testing pandas testing functions or related to the test suite label Apr 27, 2017
@jreback jreback added this to the 0.20.0 milestone Apr 27, 2017
@jreback
Copy link
Contributor

jreback commented Apr 27, 2017

yeah those are 'network' tests that don't have the decorator! (as I think there is some interaction with parametrize).

@codecov
Copy link

codecov bot commented Apr 27, 2017

Codecov Report

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

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #16158      +/-   ##
==========================================
+ Coverage   90.85%   90.85%   +<.01%     
==========================================
  Files         159      159              
  Lines       50785    50785              
==========================================
+ Hits        46141    46143       +2     
+ Misses       4644     4642       -2
Flag Coverage Δ
#multiple 88.64% <ø> (ø) ⬆️
#single 40.32% <ø> (ø) ⬆️
Impacted Files Coverage Δ
pandas/core/indexes/datetimes.py 95.43% <0%> (+0.09%) ⬆️
pandas/core/common.py 91.03% <0%> (+0.34%) ⬆️

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 2d9909c...ee96e02. Read the comment docs.

@codecov
Copy link

codecov bot commented Apr 27, 2017

Codecov Report

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

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #16158      +/-   ##
==========================================
+ Coverage   90.85%   90.85%   +<.01%     
==========================================
  Files         159      159              
  Lines       50785    50785              
==========================================
+ Hits        46141    46143       +2     
+ Misses       4644     4642       -2
Flag Coverage Δ
#multiple 88.64% <ø> (ø) ⬆️
#single 40.32% <ø> (ø) ⬆️
Impacted Files Coverage Δ
pandas/core/indexes/datetimes.py 95.43% <0%> (+0.09%) ⬆️
pandas/core/common.py 91.03% <0%> (+0.34%) ⬆️

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 2d9909c...ee96e02. Read the comment docs.

@jreback jreback merged commit 8879e84 into pandas-dev:master Apr 27, 2017
@jreback
Copy link
Contributor

jreback commented Apr 27, 2017

thanks!

@gfyoung
Copy link
Member Author

gfyoung commented Apr 27, 2017

yeah those are 'network' tests that don't have the decorator!

Is there a reason the tm.network decorator is not applied?

@gfyoung gfyoung deleted the assert-true-remove branch April 27, 2017 13:41
@jreback
Copy link
Contributor

jreback commented Apr 27, 2017

Is there a reason the tm.network decorator is not applied?

I think I briefly tried it and couldn't get it to work when the parameterize one was as well.
give it a shot!

@gfyoung
Copy link
Member Author

gfyoung commented Apr 29, 2017

The test is actually decorated because the function called in each test has the tm.network decorator. I suspect it's because network failures are supposed to trigger test failures per the documentation of tm.network.

pcluo pushed a commit to pcluo/pandas that referenced this pull request May 22, 2017
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