Skip to content

Commit 03e6f90

Browse files
committed
Add skipif marker for Excel-dependent colorbar test
- Add conditional test marker to skip colorbar tests when Excel is not available - Import is_app_available utility from xlviews.testing - Ensure test suite can handle environments without Excel installation
1 parent 6aa8c8e commit 03e6f90

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/dataframes/test_colorbar.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
from xlwings import Sheet
33

44
from xlviews.core.range import Range
5+
from xlviews.testing import is_app_available
6+
7+
pytestmark = pytest.mark.skipif(not is_app_available(), reason="Excel not installed")
58

69

710
@pytest.fixture(scope="module")

0 commit comments

Comments
 (0)