diff options
| author | Jesus Cea <jcea@jcea.es> | 2008-07-29 13:38:50 (GMT) |
|---|---|---|
| committer | Jesus Cea <jcea@jcea.es> | 2008-07-29 13:38:50 (GMT) |
| commit | a99363f472a4393eaa00d039056fb5acbb75770c (patch) | |
| tree | 886227206acd0d08fe3df9f057b664ac2935113e /Lib/bsddb/test/test_misc.py | |
| parent | 01a24322ec5ec8e8080bca25d03cdb1e02506e2c (diff) | |
| download | cpython-a99363f472a4393eaa00d039056fb5acbb75770c.zip cpython-a99363f472a4393eaa00d039056fb5acbb75770c.tar.gz cpython-a99363f472a4393eaa00d039056fb5acbb75770c.tar.bz2 | |
Refinements in the bsddb testsuite
Diffstat (limited to 'Lib/bsddb/test/test_misc.py')
| -rw-r--r-- | Lib/bsddb/test/test_misc.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/bsddb/test/test_misc.py b/Lib/bsddb/test/test_misc.py index dce7e0c..f7c26d9 100644 --- a/Lib/bsddb/test/test_misc.py +++ b/Lib/bsddb/test/test_misc.py @@ -77,7 +77,7 @@ class MiscTestCase(unittest.TestCase): # double free happened during exit from DBC_get finally: db1.close() - os.unlink(self.filename) + test_support.unlink(self.filename) def test06_key_with_null_bytes(self): try: @@ -96,7 +96,7 @@ class MiscTestCase(unittest.TestCase): self.assertEqual(db1['aaa'], 'eh eh eh!') finally: db1.close() - os.unlink(self.filename) + test_support.unlink(self.filename) def test07_DB_set_flags_persists(self): if db.version() < (4,2): @@ -124,7 +124,7 @@ class MiscTestCase(unittest.TestCase): self.assertEqual([('a', 'new A')], db1.items()) finally: db1.close() - os.unlink(self.filename) + test_support.unlink(self.filename) #---------------------------------------------------------------------- |
