From: Bob Halley Date: Wed, 1 Jul 2020 13:55:35 +0000 (-0700) Subject: avoid low-level wait tests on Windows X-Git-Tag: v2.0.0rc2~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92e2520cd52eaf976649347c3222ac53e3ab87e5;p=thirdparty%2Fdnspython.git avoid low-level wait tests on Windows --- diff --git a/tests/test_query.py b/tests/test_query.py index 19d68ecf..f1ec55ca 100644 --- a/tests/test_query.py +++ b/tests/test_query.py @@ -16,6 +16,7 @@ # OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. import socket +import sys import time import unittest @@ -509,6 +510,8 @@ class TsigTests(unittest.TestCase): seen = set([rdata.address for rdata in rrs]) self.assertTrue('1.2.3.4' in seen) +@unittest.skipIf(sys.platform == 'win32', + 'low level tests do not work on win32') class LowLevelWaitTests(unittest.TestCase): def test_wait_for(self):