On 5/18/07, guido.van.rossum <[email protected]> wrote: ============================================================================== > --- python/branches/py3k-struni/Lib/test/test_shelve.py (original) > +++ python/branches/py3k-struni/Lib/test/test_shelve.py Fri May 18 23:57:09 > 2007 > @@ -8,35 +8,33 @@ > > fn = "shelftemp" + os.extsep + "db" > > + def tearDown(self): > + for f in glob.glob(self.fn+"*"): > + os.unlink(f) > + > def test_ascii_file_shelf(self):
Probably best to use test.test_support.unlink() instead of os.unlink(). Collin Winter _______________________________________________ Python-3000-checkins mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000-checkins
