[Python-checkins] python/dist/src/Lib/test test_dircache.py, 1.5,
1.6
loewis at users.sourceforge.net
loewis at users.sourceforge.net
Sat Sep 20 11:52:23 EDT 2003
Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1:/tmp/cvs-serv29956/Lib/test
Modified Files:
test_dircache.py
Log Message:
Patch #707167: Pass dircache exceptions to the caller. Fixes #682813.
Not backported because of behaviour change.
Index: test_dircache.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_dircache.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** test_dircache.py 23 Jul 2002 19:03:50 -0000 1.5
--- test_dircache.py 20 Sep 2003 15:52:21 -0000 1.6
***************
*** 57,61 ****
## UNSUCCESSFUL CASES
! self.assertEquals(dircache.listdir(self.tempdir+"_nonexistent"), [])
def test_annotate(self):
--- 57,61 ----
## UNSUCCESSFUL CASES
! self.assertRaises(OSError, dircache.listdir, self.tempdir+"_nonexistent")
def test_annotate(self):
More information about the Python-checkins
mailing list