summaryrefslogtreecommitdiff
path: root/tests/test_async.py
diff options
context:
space:
mode:
authorBob Halley <halley@dnspython.org>2020-06-13 10:57:46 -0700
committerBob Halley <halley@dnspython.org>2020-06-13 10:57:46 -0700
commitdce23a614f2d11bd802c7f9aed8f3ab0e883f468 (patch)
tree1c7ae84322313b3acb4a19a98445546d2270850c /tests/test_async.py
parentd701908258b93a6434f4175cc0f8181cbd6cbb53 (diff)
downloaddnspython-dce23a614f2d11bd802c7f9aed8f3ab0e883f468.tar.gz
Add some comments about opportunities after 3.6 is not supported.
Diffstat (limited to 'tests/test_async.py')
-rw-r--r--tests/test_async.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_async.py b/tests/test_async.py
index ed75b9c..5c26309 100644
--- a/tests/test_async.py
+++ b/tests/test_async.py
@@ -57,6 +57,7 @@ class AsyncTests(unittest.TestCase):
try:
runner = asyncio.run
except AttributeError:
+ # this is only needed for 3.6
def old_runner(awaitable):
loop = asyncio.get_event_loop()
return loop.run_until_complete(awaitable)