Skip to content

Commit 1ee4623

Browse files
authored
chore: Skip flaky test (#794)
- closes #781
1 parent d50859a commit 1ee4623

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/unit/basic_crawler/test_basic_crawler.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
from collections import Counter
88
from dataclasses import dataclass
99
from datetime import timedelta
10+
import os
1011
from pathlib import Path
1112
from typing import TYPE_CHECKING, Any
1213
from unittest.mock import AsyncMock, Mock
@@ -890,6 +891,7 @@ async def handler(context: BasicCrawlingContext) -> None:
890891
assert not datasets_path.exists() or list(datasets_path.iterdir()) == []
891892

892893

894+
@pytest.mark.skipif(os.name == 'nt' and 'CI' in os.environ, reason='Skipped in Windows CI')
893895
async def test_logs_final_statistics(monkeypatch: pytest.MonkeyPatch, caplog: pytest.LogCaptureFixture) -> None:
894896
# Set the log level to INFO to capture the final statistics log.
895897
caplog.set_level(logging.INFO)

0 commit comments

Comments
 (0)