I&#39;ll answer my own question since I&#39;ve done some more research.&nbsp; The trace.py module in Python&#39;s standard library doesn&#39;t know how to create a module name for modules loaded from locations other than sys.path.&nbsp; It tries to use the full file path, but on Windows, that starts with &quot;&lt;drive&gt;:&quot;, and &quot;:&quot; isn&#39;t a valid part of a filename.<br>
<br><a href="http://bugs.python.org/issue4943">http://bugs.python.org/issue4943</a><br><br>Matt<br><br><div class="gmail_quote">On Sat, Jan 3, 2009 at 2:19 PM, Matt McClure <span dir="ltr">&lt;<a href="mailto:mlm@aya.yale.edu">mlm@aya.yale.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I&#39;m using &#39;bzr --coverage coverdir selftest&#39; for the first time, and I hoped it would give me test coverage information for my bzrp4 plugin.&nbsp; However, I don&#39;t see any .cover files in coverdir for bzrp4 source files.&nbsp; I used BZR_PLUGIN_PATH to set the parent directory of the bzrp4 directory.&nbsp; I do see .cover files for bzr source files and for the launchpad plugin that is installed inside the bzrlib/plugins directory.<br>

<br>How can I make --coverage find my plugin source files relative to BZR_PLUGIN_PATH?&nbsp; Or is there a better way to get coverage information for Bazaar plugins?<br><br>Thanks,<br><font color="#888888">Matt<br>
</font></blockquote></div><br>