[Happydoc-checkins] CVS: HappyDoc/happydoclib happydocstring.py,1.4,1.5
Brought to you by:
doughellmann,
krlosaqp
From: Doug H. <dou...@us...> - 2002-08-25 18:29:19
|
Update of /cvsroot/happydoc/HappyDoc/happydoclib In directory usw-pr-cvs1:/tmp/cvs-serv23417/happydoclib Modified Files: happydocstring.py Log Message: Ignore whitespace when comparing output text. Index: happydocstring.py =================================================================== RCS file: /cvsroot/happydoc/HappyDoc/happydoclib/happydocstring.py,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** happydocstring.py 25 Aug 2002 14:40:24 -0000 1.4 --- happydocstring.py 25 Aug 2002 18:29:16 -0000 1.5 *************** *** 198,206 **** for i in range(num_lines): try: ! e_line = expected_lines[i] except IndexError: self.fail('Actual result has more lines than expected.') try: ! a_line = actual_lines[i] except IndexError: self.fail('Expected result has more lines than actual.') --- 198,206 ---- for i in range(num_lines): try: ! e_line = expected_lines[i].strip() except IndexError: self.fail('Actual result has more lines than expected.') try: ! a_line = actual_lines[i].strip() except IndexError: self.fail('Expected result has more lines than actual.') |