[Checkins] SVN: zope.exceptions/branches/tseaver-no_2to3/src/zope/exceptions/tests/test_exceptionformatter.py Cleanup.

Tres Seaver cvs-admin at zope.org
Fri Apr 6 19:36:38 UTC 2012


Log message for revision 125023:
  Cleanup.

Changed:
  U   zope.exceptions/branches/tseaver-no_2to3/src/zope/exceptions/tests/test_exceptionformatter.py

-=-
Modified: zope.exceptions/branches/tseaver-no_2to3/src/zope/exceptions/tests/test_exceptionformatter.py
===================================================================
--- zope.exceptions/branches/tseaver-no_2to3/src/zope/exceptions/tests/test_exceptionformatter.py	2012-04-06 19:36:31 UTC (rev 125022)
+++ zope.exceptions/branches/tseaver-no_2to3/src/zope/exceptions/tests/test_exceptionformatter.py	2012-04-06 19:36:35 UTC (rev 125023)
@@ -212,7 +212,6 @@
     def test_formatLine_w_supplement_in_locals(self):
         INFO_L = 'I wish I had stayed in bed.'
         INFO_G = 'I would rather soak my head.'
-        fmt = self._makeOne()
         fmt = self._makeOne(with_filenames=False)
         tb = DummyTB()
         tb.tb_frame = f = DummyFrame()
@@ -225,7 +224,6 @@
 
     def test_formatLine_w_supplement_in_globals(self):
         INFO_G = 'I would rather soak my head.'
-        fmt = self._makeOne()
         fmt = self._makeOne(with_filenames=False)
         tb = DummyTB()
         tb.tb_frame = f = DummyFrame()
@@ -237,7 +235,6 @@
 
     def test_formatLine_w_traceback_info(self):
         INFO_T = 'I would rather soak my head.'
-        fmt = self._makeOne()
         fmt = self._makeOne(with_filenames=False)
         tb = DummyTB()
         tb.tb_frame = f = DummyFrame()
@@ -247,6 +244,7 @@
         self.assertEqual(len(lines), 2)
         self.assertEqual(lines[1], '   - __traceback_info__: %s' % INFO_T)
 
+
 class Test_format_exception(unittest.TestCase):
 
     def _callFUT(self, as_html=False):



More information about the checkins mailing list