Skip to content

Commit 097a0fa

Browse files
committed
Add test
1 parent e39a688 commit 097a0fa

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pandas/tests/tseries/offsets/test_offsets.py

+6
Original file line numberDiff line numberDiff line change
@@ -809,6 +809,12 @@ def setup_method(self, method):
809809
r"invalid starting and ending time\(s\): opening hours should not "
810810
"touch or overlap with one another"
811811
),
812+
(
813+
['12:00', '20:00'],
814+
['09:00', '11:00'],
815+
r"invalid starting and ending time\(s\): opening hours should not "
816+
"touch or overlap with one another"
817+
),
812818
])
813819
def test_constructor_errors(self, start, end, match):
814820
with pytest.raises(ValueError,

0 commit comments

Comments
 (0)