Add a testcase that checks if the TarFile constructor successfully
commitd62e758b748f90a1cd699c8bff1b2eb88996468a
authorlars.gustaebel <lars.gustaebel@6015fed2-1504-0410-9fe1-9d1591cc4771>
Mon, 23 Nov 2009 15:46:19 +0000 (23 15:46 +0000)
committerlars.gustaebel <lars.gustaebel@6015fed2-1504-0410-9fe1-9d1591cc4771>
Mon, 23 Nov 2009 15:46:19 +0000 (23 15:46 +0000)
treedf03d62f95c6f700a3373156c455c6f848b293cf
parent36cb6fac746485cb160c612e7f5e70c7c2e3bc9c
Add a testcase that checks if the TarFile constructor successfully
closes the internal file object in case of an error (issue #7341).

git-svn-id: http://svn.python.org/projects/python/trunk@76452 6015fed2-1504-0410-9fe1-9d1591cc4771
Lib/test/test_tarfile.py