diff options
author | Casey Deccio <casey@deccio.net> | 2020-11-15 09:22:55 +0300 |
---|---|---|
committer | Casey Deccio <casey@deccio.net> | 2020-11-15 09:22:55 +0300 |
commit | 3ee2d51314032b9c3a08a1cd9d4ce8a2d650c82b (patch) | |
tree | a7e67ccceee35b181aab14f842f773a0a289d51a /tests | |
parent | a383bcb1137773d458c6da7b1e32282c203a5362 (diff) |
Correct caught exception
Diffstat (limited to 'tests')
-rw-r--r-- | tests/dnsviz_probe_options.py | 2 |
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 |