Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #2244

Re: Data files for tests

Date 2011-03-30 12:35 -0700
From Ethan Furman <ethan@stoneleaf.us>
Subject Re: Data files for tests
References <4d8fc335$0$29977$c3e8da3$5496439d@news.astraweb.com>
Newsgroups comp.lang.python
Message-ID <mailman.20.1301513123.2990.python-list@python.org> (permalink)

Show all headers | View raw


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 downloading your 
package (assuming you distribute it).

For myself, I do keep my tests in a folder in the package itself -- 
keeps it out of the way (any necessary files also go there).

~Ethan~

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Data files for tests Ethan Furman <ethan@stoneleaf.us> - 2011-03-30 12:35 -0700

csiph-web