<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 6/2/2012 4:36 PM, Kamal Ahmed wrote:
    <blockquote
      cite="mid:1338669360.15013.YahooMailNeo@web121703.mail.ne1.yahoo.com"
      type="cite">
      <div style="color: rgb(0, 0, 0); background-color: rgb(255, 255,
        255); font-family: verdana,helvetica,sans-serif; font-size:
        10pt;">Hi,
        <div>When trying to run nosetests ( 1.1.2 ) with Python 2.7.2, i
          get the following error:</div>
        <div><br>
        </div>
        <div>
          <pre style="white-space: pre-wrap; word-wrap: break-word; margin-top: 0px; margin-bottom: 0px; font-size: 11px;">coverage run tests/run.py --with-xunit coverage.xml</pre>
        </div>
      </div>
    </blockquote>
    Hi, what were you intending to happen with this command line?&nbsp; Why
    does "coverage.xml" mean here?<br>
    <br>
    --Ned.<br>
    <blockquote
      cite="mid:1338669360.15013.YahooMailNeo@web121703.mail.ne1.yahoo.com"
      type="cite">
      <div style="color:#000; background-color:#fff;
        font-family:verdana, helvetica, sans-serif;font-size:10pt">
        <div>
          <pre style="white-space: pre-wrap; word-wrap: break-word; margin-top: 0px; margin-bottom: 0px; font-size: 11px; ">
E
======================================================================
ERROR: Failure: AttributeError ('module' object has no attribute 'xml')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/nose-1.1.2-py2.7.egg/nose/loader.py", line 379, in loadTestsFromName
    module = resolve_name(addr.module)
  File "/usr/local/lib/python2.7/dist-packages/nose-1.1.2-py2.7.egg/nose/util.py", line 331, in resolve_name
    obj = getattr(obj, part)
AttributeError: 'module' object has no attribute 'xml'</pre>
          <pre style="white-space: pre-wrap; word-wrap: break-word; margin-top: 0px; margin-bottom: 0px; font-size: 11px; ">
</pre>
          <pre style="white-space: pre-wrap; word-wrap: break-word; margin-top: 0px; margin-bottom: 0px; font-size: 11px; ">Any ideas how this can be resolved ?</pre>
          <pre style="white-space: pre-wrap; word-wrap: break-word; margin-top: 0px; margin-bottom: 0px; font-size: 11px; ">
</pre>
          <pre style="white-space: pre-wrap; word-wrap: break-word; margin-top: 0px; margin-bottom: 0px; font-size: 11px; ">
</pre>
          <pre style="word-wrap: break-word; margin-top: 0px; margin-bottom: 0px; "><span style="font-size: 11px; white-space: pre-wrap;">Code snippet:</span></pre>
          <pre style="white-space: pre-wrap; word-wrap: break-word; margin-top: 0px; margin-bottom: 0px; font-size: 11px; ">
</pre>
          <pre style="word-wrap: break-word; margin-top: 0px; margin-bottom: 0px; "><span style="font-size:
 11px; white-space: pre-wrap;">328     obj = module
329     log.debug("resolve: %s, %s, %s, %s", parts, name, obj, module)
330     for part in parts:
331         obj = getattr(obj, part)
332     return obj
333 
334 </span><span style="font-size: 11px; white-space: pre-wrap; ">
</span></pre>
          <div><br>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
testing-in-python mailing list
<a class="moz-txt-link-abbreviated" href="mailto:testing-in-python@lists.idyll.org">testing-in-python@lists.idyll.org</a>
<a class="moz-txt-link-freetext" href="http://lists.idyll.org/listinfo/testing-in-python">http://lists.idyll.org/listinfo/testing-in-python</a>
</pre>
    </blockquote>
  </body>
</html>