From: Bob Halley Date: Mon, 29 Jun 2020 14:34:21 +0000 (-0700) Subject: fix indentation of test_bogus_family() X-Git-Tag: v2.0.0rc2~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16d5a27497e33cb7974f8c3cc6126c2069c2829c;p=thirdparty%2Fdnspython.git fix indentation of test_bogus_family() --- diff --git a/tests/test_ntoaaton.py b/tests/test_ntoaaton.py index d8cb7bc4..d256c1c0 100644 --- a/tests/test_ntoaaton.py +++ b/tests/test_ntoaaton.py @@ -310,11 +310,11 @@ class NtoAAtoNTestCase(unittest.TestCase): t = dns.inet.low_level_address_tuple(('2600::1', 53), bogus) self.assertRaises(NotImplementedError, bad) - def test_bogus_family(self): - self.assertRaises(NotImplementedError, - lambda: dns.inet.inet_pton(12345, 'bogus')) - self.assertRaises(NotImplementedError, - lambda: dns.inet.inet_ntop(12345, b'bogus')) + def test_bogus_family(self): + self.assertRaises(NotImplementedError, + lambda: dns.inet.inet_pton(12345, 'bogus')) + self.assertRaises(NotImplementedError, + lambda: dns.inet.inet_ntop(12345, b'bogus')) if __name__ == '__main__': unittest.main()