summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_bsddb3.py
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-01-25 07:22:01 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-01-25 07:22:01 (GMT)
commitefd8e78982e40564e3f83b06837eb4c332e760de (patch)
tree15ea55d22582097f48c017f3eccf5821de4bfd8c /Lib/test/test_bsddb3.py
parentb9ab8348300edf3e0854fa0b56d51ebcb453f7a0 (diff)
downloadcpython-efd8e78982e40564e3f83b06837eb4c332e760de.zip
cpython-efd8e78982e40564e3f83b06837eb4c332e760de.tar.gz
cpython-efd8e78982e40564e3f83b06837eb4c332e760de.tar.bz2
Remove generated test db files
Diffstat (limited to 'Lib/test/test_bsddb3.py')
-rw-r--r--Lib/test/test_bsddb3.py5
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',