Michael Foord <mich...@voidspace.org.uk> added the comment:

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?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7780>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to