Skip to content

Commit 29d3008

Browse files
committed
TEST: test_excel_report_arrays must be skipped if pytables is missing
1 parent 70bd84b commit 29d3008

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

larray/tests/test_excel.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import pytest
55
import numpy as np
66

7-
from larray.tests.common import needs_xlwings
7+
from larray.tests.common import needs_xlwings, needs_pytables
88
from larray import ndtest, open_excel, asarray, Axis, nan, ExcelReport
99
from larray.inout import xw_excel
1010
from larray.example import load_example_data, EXAMPLE_EXCEL_TEMPLATES_DIR
@@ -330,6 +330,7 @@ def test_excel_report_titles():
330330

331331

332332
@needs_xlwings
333+
@needs_pytables
333334
def test_excel_report_arrays():
334335
excel_report = ExcelReport(EXAMPLE_EXCEL_TEMPLATES_DIR)
335336
demo = load_example_data('demography_eurostat')

0 commit comments

Comments
 (0)