Skip to content

DOC: Moved PANDAS_TESTING_MODE tip to .travis.yml (#30694) #31008

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
Jan 18, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ matrix:
- postgresql

- env:
# Enabling Deprecations when running tests
# You can set the environment variable PANDAS_TESTING_MODE to deprecate to show any DeprecationWarning message.
# This is enabled in the travis builds for numpy 1.9 (and evenutally for the python 3.4 build).
Copy link
Member

Choose a reason for hiding this comment

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

I think can delete this last line; pretty out of date

Copy link
Member

Choose a reason for hiding this comment

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

Yep, also you can rephrase a bit, since this is a comment and not in the docs anymore. Something like PANDAS_TESTING_MODE="deprecate" causes DeprecationWarning messages to be displayed in the logs. See pandas/_testing.py for more details.

- JOB="3.6, coverage" ENV_FILE="ci/deps/travis-36-cov.yaml" PATTERN="((not slow and not network) or (single and db))" PANDAS_TESTING_MODE="deprecate" COVERAGE=true SQL="1"
services:
- mysql
Expand Down