diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2008-01-26 23:14:17 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2008-01-26 23:14:17 (GMT) |
commit | 3d785e2c6a0ceeb83747cf46b509cd1c81e689ca (patch) | |
tree | 4afd2730cacabc2f2ff3d39e439b87adc82ea797 /Lib/bsddb/test/test_sequence.py | |
parent | 7f47d93f52008e38ed09e379e1a3631dce35874f (diff) | |
download | cpython-3d785e2c6a0ceeb83747cf46b509cd1c81e689ca.zip cpython-3d785e2c6a0ceeb83747cf46b509cd1c81e689ca.tar.gz cpython-3d785e2c6a0ceeb83747cf46b509cd1c81e689ca.tar.bz2 |
Consistently use tempfile.tempdir for the db_home directory.
Diffstat (limited to 'Lib/bsddb/test/test_sequence.py')
-rw-r--r-- | Lib/bsddb/test/test_sequence.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/bsddb/test/test_sequence.py b/Lib/bsddb/test/test_sequence.py index 979f858..239e8ee 100644 --- a/Lib/bsddb/test/test_sequence.py +++ b/Lib/bsddb/test/test_sequence.py @@ -16,7 +16,7 @@ from test_all import verbose class DBSequenceTest(unittest.TestCase): def setUp(self): self.int_32_max = 0x100000000 - self.homeDir = os.path.join(os.path.dirname(sys.argv[0]), 'db_home') + self.homeDir = os.path.join(tempfile.gettempdir(), 'db_home') try: os.mkdir(self.homeDir) except os.error: |