File tree Expand file tree Collapse file tree 3 files changed +17
-1
lines changed
Expand file tree Collapse file tree 3 files changed +17
-1
lines changed Original file line number Diff line number Diff line change 55from __future__ import annotations
66
77import pathlib
8+ import platform
89import random
910import string
1011from io import BytesIO
3132
3233from tests .mockliveserver .fixture import MockLiveServerInterface
3334
35+ if platform .system () == "Windows" :
36+ pytest .skip (reason = "disable due to flakiness" , allow_module_level = True )
37+
3438
3539def test_live_connection_refused (
3640 test_api_key : str ,
@@ -940,7 +944,9 @@ def callback(_: object) -> None:
940944 live_client .add_callback (callback )
941945
942946 # Assert
943- assert len (live_client ._session ._user_callbacks ) == 2 # include map_symbols callback
947+ assert (
948+ len (live_client ._session ._user_callbacks ) == 2
949+ ) # include map_symbols callback
944950 assert (callback , None ) in live_client ._session ._user_callbacks
945951
946952
Original file line number Diff line number Diff line change 11from __future__ import annotations
22
33import asyncio
4+ import platform
45from unittest .mock import MagicMock
56
67import pandas as pd
1819from tests .mockliveserver .fixture import MockLiveServerInterface
1920
2021
22+ if platform .system () == "Windows" :
23+ pytest .skip (reason = "disable due to flakiness" , allow_module_level = True )
24+
25+
2126async def test_reconnect_policy_none (
2227 test_live_api_key : str ,
2328 mock_live_server : MockLiveServerInterface ,
Original file line number Diff line number Diff line change 11import asyncio
2+ import platform
23from unittest .mock import MagicMock
34
45import pytest
1011from tests .mockliveserver .fixture import MockLiveServerInterface
1112
1213
14+ if platform .system () == "Windows" :
15+ pytest .skip (reason = "disable due to flakiness" , allow_module_level = True )
16+
17+
1318@pytest .mark .parametrize (
1419 "dataset" ,
1520 [
You can’t perform that action at this time.
0 commit comments