<html><body><div style="color:#000; background-color:#fff; 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
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; "><br></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; "><br></pre><pre style="white-space: pre-wrap; word-wrap: break-word; margin-top: 0px; margin-bottom: 0px; font-size: 11px; "><br></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; "><br></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></body></html>