Skip to content

Commit 807dc63

Browse files
Merge pull request #375 from dorkdiaries9/patch-1
Return empty list for non-existent HTML data path
2 parents 715697c + ad63bde commit 807dc63

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_regression.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def _get_html_test_data_paths(subfolder: str):
1818
"""Return paths to HTML test data files with appropriate DefaultConfig."""
1919
HTML_DATA_PATH = DATA_PATH / subfolder / "html"
2020
if not HTML_DATA_PATH.exists():
21-
return
21+
return []
2222

2323
for dir_name in os.listdir(HTML_DATA_PATH):
2424
dir_path = HTML_DATA_PATH / dir_name

0 commit comments

Comments
 (0)