Serhiy Storchaka added the comment:

I hope that I preserved the intention of the test. It tested relative 
make_archive() with base_name. Original test first changed working directory 
and drive (to the same drive as the drive of output file) and then called 
private function _make_tarball(). After my refactoring the code became call 
make_archive() that resolve base_name before changing current directory. The 
peculiarity of the buildbot is that it crates temporary files on different 
drive that current drive, and relative base_name were resolved to wrong 
absolute name.

Now the code changes current directory before calling make_archive() with 
relative base_name argument and the test makes sense on non-Windows. Also added 
similar test for zip format.

----------
assignee:  -> serhiy.storchaka
stage:  -> commit review

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25018>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to