From b0fd679b364a48ada82b0e76727b2ae1fbbfcce4 Mon Sep 17 00:00:00 2001 From: ixje Date: Fri, 6 Oct 2023 05:06:10 -0700 Subject: [PATCH] ci: disable unstable test (#287) --- tests/network/convenience/test_various.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/network/convenience/test_various.py b/tests/network/convenience/test_various.py index 99cb792d..96dd5289 100644 --- a/tests/network/convenience/test_various.py +++ b/tests/network/convenience/test_various.py @@ -1,3 +1,4 @@ +import platform import unittest from neo3.network.convenience import nodeweight, requestinfo, flightinfo @@ -23,6 +24,7 @@ def test_mark_failed(self): class NodeWeightTestCase(unittest.TestCase): + @unittest.skipIf(platform.system() == "Windows", "Unstable on CI for Windows") def test_weight(self): nw1 = nodeweight.NodeWeight(node_id=123) self.assertEqual(nodeweight.NodeWeight.SPEED_RECORD_COUNT, len(nw1.speed))