[Spambayes-checkins] spambayes/spambayes/test test_stats.py, 1.2,
1.3
Tony Meyer
anadelonbrin at users.sourceforge.net
Thu Jan 20 04:42:12 CET 2005
Update of /cvsroot/spambayes/spambayes/spambayes/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2991/spambayes/test
Modified Files:
test_stats.py
Log Message:
Add Python 2.2 compat.
Index: test_stats.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/spambayes/test/test_stats.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** test_stats.py 22 Dec 2004 00:22:26 -0000 1.2
--- test_stats.py 20 Jan 2005 03:42:10 -0000 1.3
***************
*** 462,466 ****
s = self._stuff_with_data(False)
for line in s:
! self.assert_(' ' not in line)
def test_from_date_empty(self):
--- 462,466 ----
s = self._stuff_with_data(False)
for line in s:
! self.assertEqual(line.find(' '), -1)
def test_from_date_empty(self):
More information about the Spambayes-checkins
mailing list