From: JINMEI Tatuya Date: Mon, 17 Dec 2012 16:26:32 +0000 (-0800) Subject: [2379] style: removed unnecessary parentheses in if statements X-Git-Tag: bind10-1.0.0-beta-release~11^2^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a602d28cbe49a1287a4beb85ace69c854d025b02;p=thirdparty%2Fkea.git [2379] style: removed unnecessary parentheses in if statements --- diff --git a/src/lib/python/isc/datasrc/tests/zone_loader_test.py b/src/lib/python/isc/datasrc/tests/zone_loader_test.py index 4eaaea17cf..3ae1bf54a4 100644 --- a/src/lib/python/isc/datasrc/tests/zone_loader_test.py +++ b/src/lib/python/isc/datasrc/tests/zone_loader_test.py @@ -67,7 +67,7 @@ class ZoneLoaderTests(unittest.TestCase): if self.loader is not None: self.assertEqual(2, sys.getrefcount(self.test_name)) self.assertEqual(3, sys.getrefcount(self.client)) - if (self.source_client is not None): + if self.source_client is not None: self.assertEqual(3, sys.getrefcount(self.source_client)) self.loader = None @@ -75,7 +75,7 @@ class ZoneLoaderTests(unittest.TestCase): # of its arguments should be back to their originals self.assertEqual(2, sys.getrefcount(self.test_name)) self.assertEqual(2, sys.getrefcount(self.client)) - if (self.source_client is not None): + if self.source_client is not None: self.assertEqual(2, sys.getrefcount(self.source_client)) def test_bad_constructor(self):