Skip to content

Commit 26067e5

Browse files
committed
Removed hard-coded ensure_clean
1 parent 7cbe484 commit 26067e5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pandas/tests/io/test_excel.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -1374,7 +1374,9 @@ def test_to_excel_interval_labels(self, merge_cells, engine, ext):
13741374

13751375
def test_to_excel_timedelta(self, merge_cells, engine, ext):
13761376
# GH 19242, GH9155 - test writing timedelta to xls
1377-
with ensure_clean('.xls') as path:
1377+
if engine == 'openpyxl':
1378+
pytest.skip('Timedelta roundtrip broken with openpyxl')
1379+
with ensure_clean(ext) as path:
13781380
frame = DataFrame(np.random.randint(-10, 10, size=(20, 1)),
13791381
columns=['A'],
13801382
dtype=np.int64

0 commit comments

Comments
 (0)