Skip to content

Commit 1f34b47

Browse files
committed
TST: change deprecation mode naming in PANDAS_TESTING_MODE, enable for 3.4 build
1 parent 0912936 commit 1f34b47

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,15 @@ matrix:
5353
- FULL_DEPS=true
5454
- CLIPBOARD=xsel
5555
- JOB_NAME: "34_nslow"
56+
- PANDAS_TESTING_MODE="deprecate"
5657
- python: 2.7
5758
env:
5859
- EXPERIMENTAL=true
5960
- NOSE_ARGS="not slow and not network and not disabled"
6061
- JOB_NAME: "27_numpy_master"
6162
- JOB_TAG=_NUMPY_DEV_master
6263
- NUMPY_BUILD=master
63-
- PANDAS_TESTING_MODE="numpy_deprecate"
64+
- PANDAS_TESTING_MODE="deprecate"
6465
allow_failures:
6566
- python: 3.4
6667
env:
@@ -69,14 +70,15 @@ matrix:
6970
- FULL_DEPS=true
7071
- CLIPBOARD=xsel
7172
- JOB_NAME: "34_nslow"
73+
- PANDAS_TESTING_MODE="deprecate"
7274
- python: 2.7
7375
env:
7476
- EXPERIMENTAL=true
7577
- NOSE_ARGS="not slow and not network and not disabled"
7678
- JOB_NAME: "27_numpy_master"
7779
- JOB_TAG=_NUMPY_DEV_master
7880
- NUMPY_BUILD=master
79-
- PANDAS_TESTING_MODE="numpy_deprecate"
81+
- PANDAS_TESTING_MODE="deprecate"
8082

8183
before_install:
8284
- echo "before_install"

pandas/util/testing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656

5757
# set testing_mode
5858
testing_mode = os.environ.get('PANDAS_TESTING_MODE','None')
59-
if 'numpy_deprecate' in testing_mode:
59+
if 'deprecate' in testing_mode:
6060
warnings.simplefilter('always', DeprecationWarning)
6161

6262
class TestCase(unittest.TestCase):

0 commit comments

Comments
 (0)