post-test failures in bzr.dev

Olaf Conradi oohlaf at gmail.com
Thu Apr 6 17:23:00 BST 2006


On 06/04/06, Olaf Conradi <oohlaf at gmail.com> wrote:
> 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

Ehh, that wasn't supposed to go inside TestCase, but in selftest...

 -Olaf

=== modified file 'a/bzrlib/tests/__init__.py'
--- a/bzrlib/tests/__init__.py
+++ b/bzrlib/tests/__init__.py
@@ -902,6 +902,7 @@
         transport = default_transport
     old_transport = default_transport
     default_transport = transport
+    logging.raiseExceptions = False
     suite = test_suite()
     try:
         return run_suite(suite, 'testbzr', verbose=verbose, pattern=pattern,




More information about the bazaar mailing list