Skip to content

Commit

Permalink
Silence a flaky test on PyPy
Browse files Browse the repository at this point in the history
  • Loading branch information
jstasiak committed Mar 24, 2021
1 parent 6482da0 commit bc6ef8c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions zeroconf/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import copy
import logging
import os
import platform
import socket
import struct
import threading
Expand All @@ -17,6 +18,8 @@
from typing import Dict, Optional # noqa # used in type hints
from typing import cast

import pytest

import zeroconf as r
from zeroconf import (
DNSHinfo,
Expand Down Expand Up @@ -1126,6 +1129,7 @@ def test_integration_with_subtype_and_listener(self):


class ListenerTest(unittest.TestCase):
@pytest.mark.skipif(platform.python_implementation() == 'PyPy', reason="Flaky on PyPy")
def test_integration_with_listener_class(self):

service_added = Event()
Expand Down

0 comments on commit bc6ef8c

Please sign in to comment.