summaryrefslogtreecommitdiff
path: root/tests/test_query.py
diff options
context:
space:
mode:
authorBob Halley <halley@play-bow.org>2020-07-01 06:55:35 -0700
committerBob Halley <halley@play-bow.org>2020-07-01 06:55:35 -0700
commit92e2520cd52eaf976649347c3222ac53e3ab87e5 (patch)
tree6210f0d1f85dcc7042bbf96cf2aac205eb7edab7 /tests/test_query.py
parentd054265b48abe2649eb42f73789208afdf022439 (diff)
downloaddnspython-92e2520cd52eaf976649347c3222ac53e3ab87e5.tar.gz
avoid low-level wait tests on Windows
Diffstat (limited to 'tests/test_query.py')
-rw-r--r--tests/test_query.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_query.py b/tests/test_query.py
index 19d68ec..f1ec55c 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):