[Python-3000-checkins] r55443 - python/branches/py3k-struni/Lib/test/test_shelve.py
Collin Winter
collinw at gmail.com
Sat May 19 00:05:22 CEST 2007
On 5/18/07, guido.van.rossum <python-3000-checkins at python.org> 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
More information about the Python-3000-checkins
mailing list