You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by aj...@apache.org on 2004/02/18 01:13:54 UTC

cvs commit: jakarta-gump/python/gump/test pyunit.py

ajack       2004/02/17 16:13:54

  Modified:    python/gump/test pyunit.py
  Log:
  InString was backwards, failing when suceeded.
  
  Revision  Changes    Path
  1.21      +4 -4      jakarta-gump/python/gump/test/pyunit.py
  
  Index: pyunit.py
  ===================================================================
  RCS file: /home/cvs/jakarta-gump/python/gump/test/pyunit.py,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- pyunit.py	17 Feb 2004 21:54:21 -0000	1.20
  +++ pyunit.py	18 Feb 2004 00:13:54 -0000	1.21
  @@ -116,7 +116,7 @@
               self.raiseIssue(['Ought evaluate as false', message, object])
               
       def assertInString(self,message,substr,str):
  -        if not -1 == str.find(substr):
  +        if -1 == str.find(substr):
               self.raiseIssue(['Ought evaluate as in', message, substr, str])
               
       def assertIn(self,message,object,sequence):