Chris Jerdonek <> added the comment:

It occurs to me that the filecmp/dircmp tests in Lib/test/ 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 in the calls to the underlying directory code.


Python tracker <>
Python-bugs-list mailing list

Reply via email to