File tree 2 files changed +3
-3
lines changed 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):
187
187
session .run (
188
188
"py.test" ,
189
189
"--quiet" ,
190
- "-W default::PendingDeprecationWarning " ,
190
+ "-W default::FutureWarning " ,
191
191
f"--junitxml={ os .path .split (tests_path )[- 1 ]} _{ session .python } _sponge_log.xml" ,
192
192
"--cov=db_dtypes" ,
193
193
"--cov=tests/unit" ,
@@ -265,7 +265,7 @@ def prerelease(session, tests_path):
265
265
session .run (
266
266
"py.test" ,
267
267
"--quiet" ,
268
- "-W default::PendingDeprecationWarning " ,
268
+ "-W default::FutureWarning " ,
269
269
f"--junitxml={ os .path .split (tests_path )[- 1 ]} _prerelease_{ session .python } _sponge_log.xml" ,
270
270
"--cov=db_dtypes" ,
271
271
"--cov=tests/unit" ,
Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
+ import sys
15
16
from unittest import mock
16
17
17
18
import pytest
22
23
MOCK_EXTRACT_VERSION = f"{ HELPER_MODULE_PATH } .extract_runtime_version"
23
24
MOCK_WARN = "warnings.warn" # Target the standard warnings module
24
25
25
-
26
26
@pytest .mark .parametrize (
27
27
"mock_version_tuple, version_str" ,
28
28
[
You can’t perform that action at this time.
0 commit comments