Skip to content

Commit 7ebd164

Browse files
committed
fix bound
1 parent fc32405 commit 7ebd164

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

tests/test_frame.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1825,7 +1825,7 @@ def test_to_excel() -> None:
18251825
with pytest_warns_bounded(
18261826
DeprecationWarning,
18271827
match="datetime.datetime.utcnow",
1828-
lower="3.11",
1828+
lower="3.11.99",
18291829
version_str=platform.python_version(),
18301830
):
18311831
with ensure_clean() as path:

tests/test_io.py

+10-10
Original file line numberDiff line numberDiff line change
@@ -901,7 +901,7 @@ def test_read_excel() -> None:
901901
with pytest_warns_bounded(
902902
DeprecationWarning,
903903
match="datetime.datetime.utcnow",
904-
lower="3.11",
904+
lower="3.11.99",
905905
version_str=platform.python_version(),
906906
):
907907
with ensure_clean(".xlsx") as path:
@@ -1037,7 +1037,7 @@ def test_read_excel_io_types() -> None:
10371037
with pytest_warns_bounded(
10381038
DeprecationWarning,
10391039
match="datetime.datetime.utcnow",
1040-
lower="3.11",
1040+
lower="3.11.99",
10411041
version_str=platform.python_version(),
10421042
):
10431043
with ensure_clean(".xlsx") as path:
@@ -1057,7 +1057,7 @@ def test_read_excel_basic():
10571057
with pytest_warns_bounded(
10581058
DeprecationWarning,
10591059
match="datetime.datetime.utcnow",
1060-
lower="3.11",
1060+
lower="3.11.99",
10611061
version_str=platform.python_version(),
10621062
):
10631063
with ensure_clean(".xlsx") as path:
@@ -1073,7 +1073,7 @@ def test_read_excel_list():
10731073
with pytest_warns_bounded(
10741074
DeprecationWarning,
10751075
match="datetime.datetime.utcnow",
1076-
lower="3.11",
1076+
lower="3.11.99",
10771077
version_str=platform.python_version(),
10781078
):
10791079
with ensure_clean(".xlsx") as path:
@@ -1097,7 +1097,7 @@ def test_read_excel_dtypes():
10971097
with pytest_warns_bounded(
10981098
DeprecationWarning,
10991099
match="datetime.datetime.utcnow",
1100-
lower="3.11",
1100+
lower="3.11.99",
11011101
version_str=platform.python_version(),
11021102
):
11031103
with ensure_clean(".xlsx") as path:
@@ -1112,7 +1112,7 @@ def test_excel_writer():
11121112
with pytest_warns_bounded(
11131113
DeprecationWarning,
11141114
match="datetime.datetime.utcnow",
1115-
lower="3.11",
1115+
lower="3.11.99",
11161116
version_str=platform.python_version(),
11171117
):
11181118
with ensure_clean(".xlsx") as path:
@@ -1137,7 +1137,7 @@ def test_excel_writer_engine():
11371137
with pytest_warns_bounded(
11381138
DeprecationWarning,
11391139
match="datetime.datetime.utcnow",
1140-
lower="3.11",
1140+
lower="3.11.99",
11411141
version_str=platform.python_version(),
11421142
):
11431143
with ensure_clean(".xlsx") as path:
@@ -1177,7 +1177,7 @@ def test_excel_writer_append_mode():
11771177
with pytest_warns_bounded(
11781178
DeprecationWarning,
11791179
match="datetime.datetime.utcnow",
1180-
lower="3.11",
1180+
lower="3.11.99",
11811181
version_str=platform.python_version(),
11821182
):
11831183
with ensure_clean(".xlsx") as path:
@@ -1461,7 +1461,7 @@ def test_all_read_without_lxml_dtype_backend() -> None:
14611461
with pytest_warns_bounded(
14621462
DeprecationWarning,
14631463
match="datetime.datetime.utcnow",
1464-
lower="3.11",
1464+
lower="3.11.99",
14651465
version_str=platform.python_version(),
14661466
):
14671467
with ensure_clean() as path:
@@ -1616,7 +1616,7 @@ def test_added_date_format() -> None:
16161616
with pytest_warns_bounded(
16171617
DeprecationWarning,
16181618
match="datetime.datetime.utcnow",
1619-
lower="3.11",
1619+
lower="3.11.99",
16201620
version_str=platform.python_version(),
16211621
):
16221622
with ensure_clean() as path:

tests/test_utility.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def test_show_version():
1313
with pytest_warns_bounded(
1414
UserWarning,
1515
match="Setuptools is replacing distutils",
16-
upper="3.11",
16+
upper="3.11.99",
1717
version_str=platform.python_version(),
1818
):
1919
check(assert_type(pd.show_versions(True), None), type(None))

0 commit comments

Comments
 (0)