summaryrefslogtreecommitdiff
path: root/Lib/test/test_gdbm.py
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2007-02-25 22:15:04 +0000
committerThomas Wouters <thomas@python.org>2007-02-25 22:15:04 +0000
commit25e7cfa4b9aec196047de80bcd28bff8f3f0dd43 (patch)
tree81d1bb335ef09e20ed7559232a5471b2e80fc8e6 /Lib/test/test_gdbm.py
parenta5f5f147834419c9c2c76b468c16d83f68fc1102 (diff)
downloadcpython-git-25e7cfa4b9aec196047de80bcd28bff8f3f0dd43.tar.gz
Backported r51621 from p3yk:
Don't use a fixed temporary name (gdbm). Don't use our own temp name creation (dbm).
Diffstat (limited to 'Lib/test/test_gdbm.py')
-rwxr-xr-xLib/test/test_gdbm.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_gdbm.py b/Lib/test/test_gdbm.py
index 03a47d9c24..8e6f76f170 100755
--- a/Lib/test/test_gdbm.py
+++ b/Lib/test/test_gdbm.py
@@ -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() == [])