homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Expand test coverage in shutil
Type: Stage: resolved
Components: Tests Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: ncoghlan Nosy List: ev, ncoghlan, python-dev, tarek
Priority: normal Keywords: patch

Created on 2011年03月15日 21:31 by ev, last changed 2022年04月11日 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
increase_test_shutil_coverage.patch ev, 2011年03月15日 21:31
Messages (2)
msg131041 - (view) Author: Evan Dandrea (ev) * Date: 2011年03月15日 21:31
The attached patch increases the coverage in shutil. It makes the following changes:
 - Tests the code paths for file and directory copies across filesystems by mocking out rename.
 - Adds a test for shutil.copy.
 - Adds a test for shutil.copy2.
 - Tests shutil.unpack_archive with the format specified.
 - Tests the code path for creating the target directory in _make_tarball.
I have tested this on Ubuntu natty and OSX 10.6.6. Note that this will fail until http://bugs.python.org/issue11548 is applied.
msg131152 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2011年03月16日 18:01
New changeset b313b05221a9 by Nick Coghlan in branch '3.2':
Close #11560: Improve test coverage of shutil
http://hg.python.org/cpython/rev/b313b05221a9
New changeset 5b61334bb776 by Nick Coghlan in branch 'default':
Merge fix for #11560 from 3.2
http://hg.python.org/cpython/rev/5b61334bb776 
History
Date User Action Args
2022年04月11日 14:57:14adminsetgithub: 55769
2011年03月16日 18:01:15python-devsetstatus: open -> closed

nosy: + python-dev
messages: + msg131152

resolution: fixed
stage: resolved
2011年03月16日 16:54:21ncoghlansetassignee: ncoghlan

nosy: + ncoghlan
2011年03月15日 21:31:48evcreate

AltStyle によって変換されたページ (->オリジナル) /