Skip to content

TST: Remove compat.PY2 and compat.PY3 flags from tests #25817

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 2 commits into from
Mar 21, 2019

Conversation

jschendel
Copy link
Member

These flags become trivial after dropping Python 2. There are still some Python 2 specific things that can be removed from the tests but this should eliminate a lot of the low hanging fruit.

Can split this up into separate PRs if need be; there are lots of changes but they're of low complexity and disjoint from each other, so shouldn't be too bad to review. Can wait on the other PRs mentioned in the master tracker issue if we want those to go in first.

@jschendel jschendel added Testing pandas testing functions or related to the test suite 2/3 Compat Clean labels Mar 21, 2019
@jschendel jschendel added this to the 0.25.0 milestone Mar 21, 2019
@codecov
Copy link

codecov bot commented Mar 21, 2019

Codecov Report

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

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #25817      +/-   ##
==========================================
+ Coverage   91.27%   91.27%   +<.01%     
==========================================
  Files         173      173              
  Lines       53002    53002              
==========================================
+ Hits        48375    48376       +1     
+ Misses       4627     4626       -1
Flag Coverage Δ
#multiple 89.83% <ø> (ø) ⬆️
#single 41.76% <ø> (-0.01%) ⬇️
Impacted Files Coverage Δ
pandas/util/testing.py 89.4% <0%> (+0.1%) ⬆️

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 cdfdd77...4fa5aa2. Read the comment docs.

@codecov
Copy link

codecov bot commented Mar 21, 2019

Codecov Report

Merging #25817 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #25817   +/-   ##
=======================================
  Coverage   91.27%   91.27%           
=======================================
  Files         173      173           
  Lines       53002    53002           
=======================================
  Hits        48375    48375           
  Misses       4627     4627
Flag Coverage Δ
#multiple 89.83% <ø> (ø) ⬆️
#single 41.77% <ø> (ø) ⬆️

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 cdfdd77...4a2ac83. Read the comment docs.

@jschendel jschendel force-pushed the remove-py2-py3-flags branch from 3695aed to 4a2ac83 Compare March 21, 2019 08:22
@jreback jreback merged commit f39a9ce into pandas-dev:master Mar 21, 2019
@jreback
Copy link
Contributor

jreback commented Mar 21, 2019

thanks @jschendel

that's what I like, -1000 lines!

@jreback
Copy link
Contributor

jreback commented Mar 21, 2019

keep em coming!

@jschendel jschendel deleted the remove-py2-py3-flags branch March 21, 2019 14:58
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