Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dnsviz/dnsviz.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorCasey Deccio <casey@deccio.net>2020-11-15 09:22:55 +0300
committerCasey Deccio <casey@deccio.net>2020-11-15 09:22:55 +0300
commit3ee2d51314032b9c3a08a1cd9d4ce8a2d650c82b (patch)
treea7e67ccceee35b181aab14f842f773a0a289d51a /tests
parenta383bcb1137773d458c6da7b1e32282c203a5362 (diff)
Correct caught exception
Diffstat (limited to 'tests')
-rw-r--r--tests/dnsviz_probe_options.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/dnsviz_probe_options.py b/tests/dnsviz_probe_options.py
index 52c0662..5fc8c7c 100644
--- a/tests/dnsviz_probe_options.py
+++ b/tests/dnsviz_probe_options.py
@@ -32,7 +32,7 @@ class DNSVizProbeOptionsTestCase(unittest.TestCase):
self.logger.addHandler(logging.NullHandler())
try:
ArgHelper.bindable_ip('::1')
- except ValueError:
+ except argparse.ArgumentTypeError:
self.use_ipv6 = False
else:
self.use_ipv6 = True