[Python-checkins] CVS: python/dist/src/Lib/test test_traceback.py,1.1,1.2

Tim Peters tim_one@users.sourceforge.net
Sun, 08 Apr 2001 00:44:10 -0700


Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv19087/python/dist/src/Lib/test

Modified Files:
	test_traceback.py 
Log Message:
Whitespace normalization.


Index: test_traceback.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_traceback.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** test_traceback.py	2001/03/21 20:33:04	1.1
--- test_traceback.py	2001/04/08 07:44:07	1.2
***************
*** 17,21 ****
          else:
              raise ValueError, "call did not raise exception"
!     
      def syntax_error_with_caret(self):
          compile("def fact(x):\n\treturn x!\n", "?", "exec")
--- 17,21 ----
          else:
              raise ValueError, "call did not raise exception"
! 
      def syntax_error_with_caret(self):
          compile("def fact(x):\n\treturn x!\n", "?", "exec")
***************
*** 31,35 ****
          self.assert_("^" in err[2]) # third line has caret
          self.assert_(err[1].strip() == "return x!")
!         
      def test_nocaret(self):
          err = self.get_exception_format(self.syntax_error_without_caret,
--- 31,35 ----
          self.assert_("^" in err[2]) # third line has caret
          self.assert_(err[1].strip() == "return x!")
! 
      def test_nocaret(self):
          err = self.get_exception_format(self.syntax_error_without_caret,