summaryrefslogtreecommitdiff
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
parent36b8ad33236a4ee118577b574f375f9d07b73be5 (diff)
downloaddnspython-nanonameserver.tar.gz
switch to relative import for nanonameservernanonameserver
-rw-r--r--tests/nanonameserver.py (renamed from nanonameserver.py)0
-rw-r--r--tests/test_resolver.py2
2 files changed, 1 insertions, 1 deletions
diff --git a/nanonameserver.py b/tests/nanonameserver.py
index aaec009..aaec009 100644
--- a/nanonameserver.py
+++ b/tests/nanonameserver.py
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