Chris Jerdonek <chris.jerdo...@gmail.com> added the comment:

It occurs to me that the filecmp/dircmp tests in Lib/test/test_filecmp.py would 
also benefit from code like this (i.e. being able to create a nested directory 
of files in one or two lines).  And perhaps elsewhere in the tests.

This is an argument for slightly generalizing the test support API in the 
uploaded patch from creating modules/packages to creating files/directories.  A 
convenience wrapper for packages could still be included that includes an 
__init__.py in the calls to the underlying directory code.

----------

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

Reply via email to