]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
avoid low-level wait tests on Windows
authorBob Halley <halley@play-bow.org>
Wed, 1 Jul 2020 13:55:35 +0000 (06:55 -0700)
committerBob Halley <halley@play-bow.org>
Wed, 1 Jul 2020 13:55:35 +0000 (06:55 -0700)
tests/test_query.py

index 19d68ecf6ee5870d9bd661cf8e25904e87392a20..f1ec55cafa68a9bcfdfc7366f8716277898f3837 100644 (file)
@@ -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):