diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-01-25 07:20:47 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-01-25 07:20:47 (GMT) |
commit | 14361fffc233072acdc8973ac12fa79a38cac2b8 (patch) | |
tree | c4e026c5114237f7dee63cbce4cd3f70a97b5e6f | |
parent | 73afe9aa32b8513c6d4c4d0ee24ed87fb64638ec (diff) | |
download | cpython-14361fffc233072acdc8973ac12fa79a38cac2b8.zip cpython-14361fffc233072acdc8973ac12fa79a38cac2b8.tar.gz cpython-14361fffc233072acdc8973ac12fa79a38cac2b8.tar.bz2 |
Remove generated test db files
-rw-r--r-- | Lib/test/test_bsddb3.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/test/test_bsddb3.py b/Lib/test/test_bsddb3.py index 34555ff..2d1bff7 100644 --- a/Lib/test/test_bsddb3.py +++ b/Lib/test/test_bsddb3.py @@ -4,7 +4,7 @@ Run all test cases. """ import sys import unittest -from test.test_support import requires, verbose, run_suite +from test.test_support import requires, verbose, run_suite, unlink # When running as a script instead of within the regrtest framework, skip the # requires test, since it's obvious we want to run them. @@ -26,7 +26,8 @@ def suite(): # this is special, it used to segfault the interpreter import bsddb.test.test_1413192 except: - pass + for f in ['__db.001', '__db.002', '__db.003', 'log.0000000001']: + unlink(f) test_modules = [ 'test_associate', |