File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ def default(session, tests_path):
187187 session .run (
188188 "py.test" ,
189189 "--quiet" ,
190- "-W default::PendingDeprecationWarning " ,
190+ "-W default::FutureWarning " ,
191191 f"--junitxml={ os .path .split (tests_path )[- 1 ]} _{ session .python } _sponge_log.xml" ,
192192 "--cov=db_dtypes" ,
193193 "--cov=tests/unit" ,
@@ -265,7 +265,7 @@ def prerelease(session, tests_path):
265265 session .run (
266266 "py.test" ,
267267 "--quiet" ,
268- "-W default::PendingDeprecationWarning " ,
268+ "-W default::FutureWarning " ,
269269 f"--junitxml={ os .path .split (tests_path )[- 1 ]} _prerelease_{ session .python } _sponge_log.xml" ,
270270 "--cov=db_dtypes" ,
271271 "--cov=tests/unit" ,
Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15+ import sys
1516from unittest import mock
1617
1718import pytest
2223MOCK_EXTRACT_VERSION = f"{ HELPER_MODULE_PATH } .extract_runtime_version"
2324MOCK_WARN = "warnings.warn" # Target the standard warnings module
2425
25-
2626@pytest .mark .parametrize (
2727 "mock_version_tuple, version_str" ,
2828 [
You can’t perform that action at this time.
0 commit comments