On Thu, Apr 1, 2010 at 3:59 PM, Michael Foord <fuzzy...@voidspace.org.uk> wrote: >> >> Thanks. I've copied test/test_support.py form Lib into 2.7 alpha >> directory and it seems to work. >> Although it doesn't seem good to me to mix test support library with >> tests themselves. >> > > What do you mean by "it doesn't seem good to me to mix test support library > with tests themselves"? Do you mean to have it in the same directory - where > would you put it? It isn't *meant* to be a public library, it exists only to > support the test framework. In Python 3 it has been renamed support.py, but > lives in the same location.
I mean that usually testing tools/libraries are separated from tests itself, as well as data. test_support.py is not only located in the same directory - it is even named in the same way. The test directory looks like a mess with all these aux data files. But it is hard to estimate if it would be worthy to separate testing framework from tests and test data. It may happen that writing and debugging tests become harder, because Python is not locked into some specific usage domain. -- anatoly t. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com