Skip flaky test on windows and python 3.8 (#17202)

This commit is contained in:
Earle Lowe 2024-01-03 13:56:41 -08:00 committed by GitHub
parent 21e7e8d8fe
commit 66683b957d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,7 @@
from __future__ import annotations
import asyncio
import sys
import time
from typing import Any, Awaitable, Callable, Dict, List, Optional
@ -178,6 +179,7 @@ async def test_nft_wallet_creation_automatically(self_hostname: str, two_wallet_
assert await nft_wallet_1.get_nft_count() == 1
@pytest.mark.skipif(sys.platform == "win32" and sys.version_info < (3, 9), reason="Flaky on Windows+3.8")
@pytest.mark.limit_consensus_modes(allowed=[ConsensusMode.PLAIN, ConsensusMode.HARD_FORK_2_0], reason="save time")
@pytest.mark.parametrize("trusted", [True, False])
@pytest.mark.anyio