summaryrefslogtreecommitdiff
path: root/tests/test_query.py
diff options
context:
space:
mode:
authorBob Halley <halley@dnspython.org>2020-07-17 16:08:11 -0700
committerGitHub <noreply@github.com>2020-07-17 16:08:11 -0700
commitac3f05d0d5b61ba46444cb9e66deb7357ff8522e (patch)
treeb7e7b2f4b124e478d24edea6143e4e02b286ccac /tests/test_query.py
parent65d201ea8c53e03f8c7b732b21ea47f7e9188cab (diff)
parent147924d0a433968c639f75630009eff8a872a4d3 (diff)
downloaddnspython-ac3f05d0d5b61ba46444cb9e66deb7357ff8522e.tar.gz
Merge pull request #538 from bwelling/selectors
Use the selectors module.
Diffstat (limited to 'tests/test_query.py')
-rw-r--r--tests/test_query.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/test_query.py b/tests/test_query.py
index 498128d..a13833e 100644
--- a/tests/test_query.py
+++ b/tests/test_query.py
@@ -540,17 +540,3 @@ class LowLevelWaitTests(unittest.TestCase):
finally:
l.close()
r.close()
-
- def test_select_for(self):
- # we test this explicitly in case _wait_for didn't test it (i.e.
- # if the default polling backing is _poll_for)
- try:
- (l, r) = socket.socketpair()
- # simple timeout
- self.assertFalse(dns.query._select_for(l, False, False, False,
- 0.05))
- # writable no timeout
- self.assertTrue(dns.query._select_for(l, False, True, False, None))
- finally:
- l.close()
- r.close()