mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Backported r51621 from p3yk:
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
ee3a1b5244
commit
110054c053
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