mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
Merged revisions 66539 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r66539 | hirokazu.yamamoto | 2008-09-21 20:44:23 +0900 | 2 lines Issue #3838: TarFile object assigned to self.tar should be closed explicitly. Reviewed by Lars Gustäbel. ........
This commit is contained in:
parent
23d11d31fe
commit
af079d4c14
1 changed files with 1 additions and 0 deletions
|
|
@ -786,6 +786,7 @@ class HardlinkTest(unittest.TestCase):
|
|||
self.tar.add(self.foo)
|
||||
|
||||
def tearDown(self):
|
||||
self.tar.close()
|
||||
os.remove(self.foo)
|
||||
os.remove(self.bar)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue