Browse Source

[2252] editorial cleanups: removed unnecessary backslash, combine short lines

JINMEI Tatuya 12 years ago
parent
commit
c97e9105e1
1 changed files with 2 additions and 3 deletions
  1. 2 3
      src/bin/xfrin/tests/xfrin_test.py

+ 2 - 3
src/bin/xfrin/tests/xfrin_test.py

@@ -2173,8 +2173,7 @@ class TestStatisticsXfrinConn(TestXfrinConnection):
             act = self.conn._counters.get(self.zones,
                                           TEST_ZONE_NAME_STR,
                                           name)
-            msg = '%s is expected %s but actually %s' \
-                % (name, exp, act)
+            msg = '%s is expected %s but actually %s' % (name, exp, act)
             if name == 'latest_axfr_duration' \
                     or name == 'latest_ixfr_duration':
                 # compare at 3 decimal places
@@ -2224,7 +2223,7 @@ class TestStatisticsXfrinIXFRv4(TestStatisticsXfrinConn):
         self.assertEqual(XFRIN_OK, self.conn.do_xfrin(False, RRType.IXFR))
         self._check_updated_statistics({'ixfrreq' + self.ipver: 1,
                                         'xfrsuccess': 1,
-                                        'latest_ixfr_duration': \
+                                        'latest_ixfr_duration':
                                             self._get_dur_time()})
 
     def test_do_xfrin_fail(self):