post-test failures in bzr.dev
Olaf Conradi
oohlaf at gmail.com
Thu Apr 6 16:53:26 BST 2006
On 06/04/06, Robert Collins <robertc at robertcollins.net> wrote:
> On Thu, 2006-04-06 at 08:51 +1000, Martin Pool wrote:
> >
> >
> > Yes, I'm seeing this too. Someone thought it was because of a
> > change
> > in Python in Ubuntu Dapper rather than something in our source.
> > (It
>
> That would be me ;)
>
> It turned up after a dist upgrade one day.
As Wouter found out on irc today. The error is caused by this patch in
upstream python2.4
http://svn.python.org/view/python/trunk/Lib/logging/__init__.py?rev=42291&r1=42258&r2=42291
Previous versions of python ignored errors from the logging module on
shutdown of the logging system. New versions only if
logging.raiseExceptions is set.
This patch restores the old behavior. We still need a proper fix to
close it though.
Cheers
-Olaf
=== modified file 'a/bzrlib/tests/__init__.py'
--- a/bzrlib/tests/__init__.py
+++ b/bzrlib/tests/__init__.py
@@ -256,6 +256,7 @@
def __init__(self, methodName='testMethod'):
super(TestCase, self).__init__(methodName)
self._cleanups = []
+ logging.raiseExceptions = False
def setUp(self):
unittest.TestCase.setUp(self)
More information about the bazaar
mailing list