This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author michael.foord
Recipients michael.foord, r.david.murray
Date 2010-02-06.00:31:24
SpamBayes Score 4.2095417e-07
Marked as misclassified No
Message-id <1265416285.62.0.575078341158.issue7780@psf.upfronthosting.co.za>
In-reply-to
Content
My suggestion is that test discovery should first try the argument as a directory. If that fails try it as a dotted name by importing it. If the import succeeds discovery can start from the directory containing the imported package.

If a module rather than a package is specified as a dotted name argument to test discovery then we can either just run the tests in that module or raise an error?
History
Date User Action Args
2010-02-06 00:31:25michael.foordsetrecipients: + michael.foord, r.david.murray
2010-02-06 00:31:25michael.foordsetmessageid: <1265416285.62.0.575078341158.issue7780@psf.upfronthosting.co.za>
2010-02-06 00:31:24michael.foordlinkissue7780 messages
2010-02-06 00:31:24michael.foordcreate