<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 6, 2015 at 9:30 AM, Ionel Cristian Mărieș <span dir="ltr"><<a href="mailto:contact@ionelmc.ro" target="_blank">contact@ionelmc.ro</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><span class=""><br><div class="gmail_quote">On Tue, Oct 6, 2015 at 10:51 AM, Antoine Pitrou <span dir="ltr"><<a href="mailto:solipsis@pitrou.net" target="_blank">solipsis@pitrou.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow:hidden">They should be inside the module. That way, you can check an installed<br>
module is ok by running e.g. "python -m mypackage.tests". Any other<br>
choice makes testing installed modules more cumbersome.</div></blockquote></div><br></span><div style="font-family:trebuchet ms,sans-serif">​Does that really make sense? I haven't heard of any user actually running tests​<br></div><div style="font-family:trebuchet ms,sans-serif">that way. To be honest I haven't ever ran Python's own tests suite as part <br></div><div style="font-family:trebuchet ms,sans-serif">of a user installation.<br></div></div></div></blockquote><div><br></div><div>It makes a lot of sense for downstream packagers. Allowing testing installed packages is also the simplest way to enable testing on target machines which are different from the build machines.<br><br></div><div>David<br></div></div></div></div>