Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.dougwise.org!news-transit.tcx.org.uk!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'folks': 0.04; 'from:addr:ethan': 0.09; 'from:addr:stoneleaf.us': 0.09; 'from:name:ethan furman': 0.09; 'message-id:@stoneleaf.us': 0.09; 'myself,': 0.09; 'received:74.54.199': 0.09; 'received:74.54.199.50': 0.09; 'received:gator410.hostgator.com': 0.09; 'subject:files': 0.09; '~ethan~': 0.09; 'wrote:': 0.14; '(any': 0.16; '(assuming': 0.16; 'it).': 0.16; 'received:72.11': 0.16; 'received:72.11.125': 0.16; 'received:72.11.125.166': 0.16; 'seems': 0.21; 'header:In-Reply-To:1': 0.22; 'tests.': 0.23; 'keeps': 0.24; 'tests': 0.26; 'least': 0.30; 'distributing': 0.31; 'import': 0.32; 'to:addr:python-list': 0.32; 'header:User- Agent:1': 0.35; 'folder': 0.36; 'some': 0.37; 'steven': 0.38; 'files': 0.38; 'to:addr:python.org': 0.39; 'spam': 0.39; 'would': 0.40; 'header:Received:5': 0.40; 'received:74.54': 0.60; 'received:hostgator.com': 0.64; 'received:websitewelcome.com': 0.71; 'received:69.93': 0.91; 'subject:Data': 0.95 Date: Wed, 30 Mar 2011 12:35:22 -0700 From: Ethan Furman User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: python-list@python.org Subject: Re: Data files for tests References: <4d8fc335$0$29977$c3e8da3$5496439d@news.astraweb.com> In-Reply-To: <4d8fc335$0$29977$c3e8da3$5496439d@news.astraweb.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator410.hostgator.com X-AntiAbuse: Original Domain - python.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - stoneleaf.us X-Source: X-Source-Args: X-Source-Dir: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 15 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1301513123 news.xs4all.nl 65870 [::ffff:82.94.164.166]:55911 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:2244 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~