@@ -208,6 +208,7 @@ def default(session):
208208 session .run (
209209 "py.test" ,
210210 "--quiet" ,
211+ "-W default::PendingDeprecationWarning" ,
211212 f"--junitxml=unit_{ session .python } _sponge_log.xml" ,
212213 "--cov=pandas_gbq" ,
213214 "--cov=tests/unit" ,
@@ -290,6 +291,7 @@ def system(session):
290291 session .run (
291292 "py.test" ,
292293 "--quiet" ,
294+ "-W default::PendingDeprecationWarning" ,
293295 f"--junitxml=system_{ session .python } _sponge_log.xml" ,
294296 system_test_path ,
295297 * session .posargs ,
@@ -298,6 +300,7 @@ def system(session):
298300 session .run (
299301 "py.test" ,
300302 "--quiet" ,
303+ "-W default::PendingDeprecationWarning" ,
301304 f"--junitxml=system_{ session .python } _sponge_log.xml" ,
302305 system_test_folder_path ,
303306 * session .posargs ,
@@ -372,6 +375,7 @@ def prerelease(session):
372375 session .run (
373376 "py.test" ,
374377 "--quiet" ,
378+ "-W default::PendingDeprecationWarning" ,
375379 f"--junitxml=prerelease_unit_{ session .python } _sponge_log.xml" ,
376380 os .path .join ("tests" , "unit" ),
377381 * session .posargs ,
@@ -380,6 +384,7 @@ def prerelease(session):
380384 session .run (
381385 "py.test" ,
382386 "--quiet" ,
387+ "-W default::PendingDeprecationWarning" ,
383388 f"--junitxml=prerelease_system_{ session .python } _sponge_log.xml" ,
384389 os .path .join ("tests" , "system" ),
385390 * session .posargs ,
0 commit comments