Skip to content

Commit a39281f

Browse files
committed
deprecation warning filter to error
1 parent 26395b9 commit a39281f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

appveyor.yml

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ environment:
1515
# See: http://stackoverflow.com/a/13751649/163740
1616
CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\ci\\run_with_env.cmd"
1717
clone_folder: C:\projects\pandas
18+
PANDAS_TESTING_MODE: "deprecate"
1819

1920
matrix:
2021

pandas/util/testing.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def set_testing_mode():
6060
# set the testing mode filters
6161
testing_mode = os.environ.get('PANDAS_TESTING_MODE', 'None')
6262
if 'deprecate' in testing_mode:
63-
warnings.simplefilter('always', _testing_mode_warnings)
63+
warnings.simplefilter('error', _testing_mode_warnings)
6464

6565

6666
def reset_testing_mode():

0 commit comments

Comments
 (0)