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

Fixing 3.6 Escape Sequence Deprecations in tests/io/parser/usecols.py #18918

Merged
merged 2 commits into from
Dec 23, 2017

Conversation

AaronCritchley
Copy link
Contributor

@jreback brought up some warnings on 3.6 that should be fixed by making the regex an r'string'.

Tests pass, happy to fix all the other occurrences, would need to know how to generate these warnings on my local machine though, as running the same pytest command as CI doesn't seem to bring them up for me.

@codecov
Copy link

codecov bot commented Dec 23, 2017

Codecov Report

Merging #18918 into master will increase coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #18918      +/-   ##
==========================================
+ Coverage   91.65%   91.67%   +0.02%     
==========================================
  Files         154      154              
  Lines       51368    51368              
==========================================
+ Hits        47080    47092      +12     
+ Misses       4288     4276      -12
Flag Coverage Δ
#multiple 89.54% <ø> (+0.02%) ⬆️
#single 40.84% <ø> (ø) ⬆️
Impacted Files Coverage Δ
pandas/plotting/_converter.py 66.95% <0%> (+1.73%) ⬆️

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 6164da2...604b2a6. Read the comment docs.

@jreback
Copy link
Contributor

jreback commented Dec 23, 2017

you export this variable to your env, then run them. PANDAS_TESTING_MODE="deprecate". this make DeprecationWarnings show up (they normally don't).

look on the 3.6 build to see in travis.

@jreback jreback added the Compat pandas objects compatability with Numpy or Python functions label Dec 23, 2017
@jreback jreback added this to the 0.23.0 milestone Dec 23, 2017
@jreback
Copy link
Contributor

jreback commented Dec 23, 2017

@jreback jreback merged commit 1cd4ef0 into pandas-dev:master Dec 23, 2017
@jreback
Copy link
Contributor

jreback commented Dec 23, 2017

thanks!

@jreback
Copy link
Contributor

jreback commented Dec 28, 2017

FYI #18968

I fixed the rest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Compat pandas objects compatability with Numpy or Python functions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants