Message131041
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. |
|
Date |
User |
Action |
Args |
2011-03-15 21:31:49 | ev | set | recipients:
+ ev, tarek |
2011-03-15 21:31:49 | ev | set | messageid: <1300224709.18.0.233736639142.issue11560@psf.upfronthosting.co.za> |
2011-03-15 21:31:48 | ev | link | issue11560 messages |
2011-03-15 21:31:48 | ev | create | |
|