Re: Data files for tests

2011-03-30 Thread Ethan Furman
Steven D'Aprano wrote: I have a package with some tests. The tests are not part of the package Do you mean they are not importable, as in --> from spam import tests or they are not distributed? Because it seems to me that distributing them would be worthwhile to at least some of the folks d

Re: Data files for tests

2011-03-27 Thread eryksun ()
On Sunday, March 27, 2011 7:33:22 PM UTC-4, eryksun () wrote: > On Sunday, March 27, 2011 7:07:33 PM UTC-4, Steven D'Aprano wrote: > > I have a package with some tests. The tests are not part of the package > > itself, so I have a laid out my files like this: > > > > > > src/ > > spam/ > >

Re: Data files for tests

2011-03-27 Thread eryksun ()
On Sunday, March 27, 2011 7:07:33 PM UTC-4, Steven D'Aprano wrote: > I have a package with some tests. The tests are not part of the package > itself, so I have a laid out my files like this: > > > src/ > spam/ > __init__.py > other-files.py > test_spam.py > > > Some of