]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
fix indentation issue that let to pointless extra checking
authorBob Halley <halley@dnspython.org>
Fri, 19 Jun 2020 16:23:16 +0000 (09:23 -0700)
committerBob Halley <halley@dnspython.org>
Fri, 19 Jun 2020 16:23:16 +0000 (09:23 -0700)
tests/test_rdata.py

index 252f24fbd2ade669726b898ff4f1b05b6d655ce9..32bdd22feb95a10143abb9de87a828473a675c0c 100644 (file)
@@ -225,8 +225,8 @@ class RdataTestCase(unittest.TestCase):
                                  '::1')
         for oper in [operator.lt, operator.le, operator.ge, operator.gt]:
             self.assertRaises(TypeError, lambda: oper(r1, r2))
-            self.assertFalse(r1 == r2)
-            self.assertTrue(r1 != r2)
+        self.assertFalse(r1 == r2)
+        self.assertTrue(r1 != r2)
 
     def test_immutability(self):
         def bad1():