Rev 2503: Don't suppress the TypeError if it doesn't match our requirements. in http://bzr.arbash-meinel.com/branches/bzr/0.17-dev/knit_index_pyrex

John Arbash Meinel john at arbash-meinel.com
Fri Jun 29 17:16:57 BST 2007


At http://bzr.arbash-meinel.com/branches/bzr/0.17-dev/knit_index_pyrex

------------------------------------------------------------
revno: 2503
revision-id: john at arbash-meinel.com-20070629161646-ufelk4s0m1ig5md8
parent: john at arbash-meinel.com-20070629160006-sdhws6bdttdbgua8
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: knit_index_pyrex
timestamp: Fri 2007-06-29 11:16:46 -0500
message:
  Don't suppress the TypeError if it doesn't match our requirements.
modified:
  bzrlib/tests/test_knit.py      test_knit.py-20051212171302-95d4c00dd5f11f2b
-------------- next part --------------
=== modified file 'bzrlib/tests/test_knit.py'
--- a/bzrlib/tests/test_knit.py	2007-06-29 16:00:06 +0000
+++ b/bzrlib/tests/test_knit.py	2007-06-29 16:16:46 +0000
@@ -716,6 +716,8 @@
                 self.knownFailure('Pyrex <0.9.5 fails with TypeError when'
                                   ' raising new style exceptions with python'
                                   ' >=2.5')
+            else:
+                raise
 
     def test_corrupted_parent(self):
         transport = MockTransport([
@@ -734,6 +736,8 @@
                 self.knownFailure('Pyrex <0.9.5 fails with TypeError when'
                                   ' raising new style exceptions with python'
                                   ' >=2.5')
+            else:
+                raise
 
     def test_corrupted_parent_in_list(self):
         transport = MockTransport([
@@ -752,6 +756,8 @@
                 self.knownFailure('Pyrex <0.9.5 fails with TypeError when'
                                   ' raising new style exceptions with python'
                                   ' >=2.5')
+            else:
+                raise
 
     def test_invalid_position(self):
         transport = MockTransport([
@@ -768,6 +774,8 @@
                 self.knownFailure('Pyrex <0.9.5 fails with TypeError when'
                                   ' raising new style exceptions with python'
                                   ' >=2.5')
+            else:
+                raise
 
     def test_invalid_size(self):
         transport = MockTransport([
@@ -784,6 +792,8 @@
                 self.knownFailure('Pyrex <0.9.5 fails with TypeError when'
                                   ' raising new style exceptions with python'
                                   ' >=2.5')
+            else:
+                raise
 
 
 class LowLevelKnitIndexTests_c(LowLevelKnitIndexTests):



More information about the bazaar-commits mailing list