Skip to content

Commit

Permalink
Try to fix failing build
Browse files Browse the repository at this point in the history
  • Loading branch information
SolarDrew committed Oct 14, 2024
1 parent 351e2c2 commit 491b506
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ def pytest_report_header(config, start_path):
def pytest_runtest_makereport(item, call):
report = yield
if report.when == "call":
ds = item.config.getoption("--ds")
tds = item.config.getoption("--tiled-ds")
ds = item.config.getoption("--ds") or None
tds = item.config.getoption("--tiled-ds") or None
if ds and item.get_closest_marker("accept_cli_dataset"):
report.nodeid += f"[{ds}]"
if tds and item.get_closest_marker("accept_cli_tiled_dataset"):
Expand Down

0 comments on commit 491b506

Please sign in to comment.