mirror of
https://github.com/python/cpython.git
synced 2025-09-08 18:01:44 +00:00
Don't use a fixed temporary name (gdbm).
Don't use our own temp name creation (dbm). Should be backported to 2.5.
This commit is contained in:
parent
b65fb33b02
commit
f35ad33064
2 changed files with 4 additions and 4 deletions
|
@ -5,9 +5,9 @@
|
|||
|
||||
import gdbm
|
||||
from gdbm import error
|
||||
from test.test_support import verbose, verify, TestFailed
|
||||
from test.test_support import verbose, verify, TestFailed, TESTFN
|
||||
|
||||
filename= '/tmp/delete_me'
|
||||
filename = TESTFN
|
||||
|
||||
g = gdbm.open(filename, 'c')
|
||||
verify(g.keys() == [])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue