mirror of
https://github.com/python/cpython.git
synced 2025-07-31 23:23:11 +00:00
Remove generated test db files
This commit is contained in:
parent
73afe9aa32
commit
14361fffc2
1 changed files with 3 additions and 2 deletions
|
@ -4,7 +4,7 @@ Run all test cases.
|
||||||
"""
|
"""
|
||||||
import sys
|
import sys
|
||||||
import unittest
|
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
|
# When running as a script instead of within the regrtest framework, skip the
|
||||||
# requires test, since it's obvious we want to run them.
|
# 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
|
# this is special, it used to segfault the interpreter
|
||||||
import bsddb.test.test_1413192
|
import bsddb.test.test_1413192
|
||||||
except:
|
except:
|
||||||
pass
|
for f in ['__db.001', '__db.002', '__db.003', 'log.0000000001']:
|
||||||
|
unlink(f)
|
||||||
|
|
||||||
test_modules = [
|
test_modules = [
|
||||||
'test_associate',
|
'test_associate',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue