[Buildbot-commits] [buildbot/buildbot] 751856: don't run a test involving flushLoggedErrors on py...

noreply at github.com noreply at github.com
Wed Dec 22 00:00:17 UTC 2010


Branch: refs/heads/master
Home:   https://github.com/buildbot/buildbot

Commit: 75185680ced80b62a4c0841ba454167d15e4a864
    https://github.com/buildbot/buildbot/commit/75185680ced80b62a4c0841ba454167d15e4a864
Author: Dustin J. Mitchell <dustin at mozilla.com>
Date:   2010-12-21 (Tue, 21 Dec 2010)

Changed paths:
  M master/buildbot/test/unit/test_changes_svnpoller.py

Log Message:
-----------
don't run a test involving flushLoggedErrors on py==27 && tw<=9.0.0

This fails with errors like

  File "/home/buildbot/slave/py27-tw0820/build/master/buildbot/test/unit/test_changes_svnpoller.py", line 464, in test_cachepath_bogus
    self.assertTrue(self.flushLoggedErrors()) # it should have called log.err
  File "/home/buildbot/slave/py27-tw0820/sandbox-python2.7/lib/python2.7/site-packages/Twisted-8.2.0-py2.7-linux-i686.egg/twisted/trial/unittest.py", line 999, in flushLoggedErrors
    return self._observer.flushErrors(*errorTypes)
exceptions.AttributeError: 'TestSVNPoller' object has no attribute '_observer'

This error will go away if only the offending test is run, or if *some* other
tests precede the offending test alphabetically in the TestCase.






More information about the Commits mailing list