summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_gdbm.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2006-08-25 23:40:32 (GMT)
committerGuido van Rossum <guido@python.org>2006-08-25 23:40:32 (GMT)
commitf35ad33064fb81de3ea4499285d2748c8e5629f1 (patch)
tree6bff581ac5d3e0b1879e1c88262e816b504efec2 /Lib/test/test_gdbm.py
parentb65fb33b022de9fefc8af76339f645c16614e2eb (diff)
downloadcpython-f35ad33064fb81de3ea4499285d2748c8e5629f1.zip
cpython-f35ad33064fb81de3ea4499285d2748c8e5629f1.tar.gz
cpython-f35ad33064fb81de3ea4499285d2748c8e5629f1.tar.bz2
Don't use a fixed temporary name (gdbm).
Don't use our own temp name creation (dbm). Should be backported to 2.5.
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 e76539a..a689576 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() == [])