Skip to content

Commit 76a16f8

Browse files
committed
exclude AppVeyor from MessageSync tests
1 parent cfc1b2c commit 76a16f8

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

test/test_message_sync.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,14 @@
1616

1717
from can import MessageSync, Message
1818

19+
from .config import IS_APPVEYOR
1920
from .message_helper import ComparingMessagesTestCase
2021
from .data.example_data import TEST_MESSAGES_BASE
22+
2123
TEST_FEWER_MESSAGES = TEST_MESSAGES_BASE[::2]
2224

25+
26+
@unittest.skipIf(IS_APPVEYOR, "this environment's timings are too unpredictable")
2327
class TestMessageFiltering(unittest.TestCase, ComparingMessagesTestCase):
2428

2529
def __init__(self, *args, **kwargs):
@@ -77,6 +81,7 @@ def test_skip(self):
7781
self.assertMessagesEqual(messages, collected)
7882

7983

84+
@unittest.skipIf(IS_APPVEYOR, "this environment's timings are too unpredictable")
8085
@pytest.mark.timeout(0.3)
8186
@pytest.mark.parametrize("timestamp_1,timestamp_2", [
8287
(0.0, 0.0),

0 commit comments

Comments
 (0)