Skip to content

Commit a960121

Browse files
committed
modify tests
1 parent e23e60f commit a960121

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

pandas/tests/indexes/datetimes/test_date_range.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -651,6 +651,9 @@ def test_range_closed_boundary(self, inclusive):
651651
elif inclusive == "both":
652652
expected_right = both_boundary[1:]
653653
expected_left = both_boundary[:-1]
654+
if inclusive == "neither":
655+
expected_left = both_boundary[1:]
656+
expected_right = both_boundary[:-1]
654657

655658
expected_neither = both_boundary[1:-1]
656659

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ exclude = '''
4444
[tool.pytest.ini_options]
4545
# sync minversion with pyproject.toml & install.rst
4646
minversion = "6.0"
47-
addopts = "--strict-data-files --strict-markers --capture=no --durations=30 --junitxml=test-data.xml"
47+
addopts = "--strict-markers --capture=no --durations=30 --junitxml=test-data.xml"
4848
xfail_strict = true
4949
testpaths = "pandas"
5050
doctest_optionflags = [

0 commit comments

Comments
 (0)