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


Groups > comp.lang.python > #2244 > unrolled thread

Re: Data files for tests

Started byEthan Furman <ethan@stoneleaf.us>
First post2011-03-30 12:35 -0700
Last post2011-03-30 12:35 -0700
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#2244 — Re: Data files for tests

FromEthan Furman <ethan@stoneleaf.us>
Date2011-03-30 12:35 -0700
SubjectRe: Data files for tests
Message-ID<mailman.20.1301513123.2990.python-list@python.org>
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~

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web