summaryrefslogtreecommitdiff
path: root/tests/test_resolver.py
diff options
context:
space:
mode:
authorBob Halley <halley@dnspython.org>2020-06-01 15:45:02 -0700
committerBob Halley <halley@dnspython.org>2020-06-01 15:45:02 -0700
commit2c791aa0cbc9203e1f1c1f2d49ea6f1bbba7bb88 (patch)
tree9cef69c239b835151ca9feb101c55aee38b7547a /tests/test_resolver.py
parent36b8ad33236a4ee118577b574f375f9d07b73be5 (diff)
downloaddnspython-2c791aa0cbc9203e1f1c1f2d49ea6f1bbba7bb88.tar.gz
switch to relative import for nanonameservernanonameserver
Diffstat (limited to 'tests/test_resolver.py')
-rw-r--r--tests/test_resolver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_resolver.py b/tests/test_resolver.py
index 202c272..87aebaa 100644
--- a/tests/test_resolver.py
+++ b/tests/test_resolver.py
@@ -41,7 +41,7 @@ except socket.gaierror:
# and threading, so try to import it and if it doesn't work, skip
# those tests.
try:
- from nanonameserver import Server
+ from .nanonameserver import Server
_nanonameserver_available = True
except ImportError:
_nanonameserver_available = False