transient error in selftest suite

Denys Duchier duchier at ps.uni-sb.de
Fri Dec 23 16:28:20 GMT 2005


This is very odd - I occasionally get the following error when running
the selftest suite:

======================================================================
FAIL: errors (bzrlib)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.4/doctest.py", line 2152, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for bzrlib.errors
  File "/mnt/kubuntu/home/duchier/src/bzr.merge/bzrlib/errors.py", line 16, in errors

----------------------------------------------------------------------
File "/mnt/kubuntu/home/duchier/src/bzr.merge/bzrlib/errors.py", line 32, in bzrlib.errors
Failed example:
    try:
      raise NotBranchError(path='/foo/bar')
    except:
      print sys.exc_type
      print sys.exc_value
      print sys.exc_value.path
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.4/doctest.py", line 1243, in __run
        compileflags, 1) in test.globs
      File "<doctest bzrlib.errors[1]>", line 6, in ?
        print sys.exc_value.path
    AttributeError: timeout instance has no attribute 'path'


----------------------------------------------------------------------
Ran 578 tests in 54.793s

FAILED (failures=1)
tests failed

--Denys






More information about the bazaar mailing list