~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_knit.py

  • Committer: John Arbash Meinel
  • Date: 2007-06-29 16:16:46 UTC
  • mto: This revision was merged to the branch mainline in revision 2614.
  • Revision ID: john@arbash-meinel.com-20070629161646-ufelk4s0m1ig5md8
Don't suppress the TypeError if it doesn't match our requirements.

Show diffs side-by-side

added added

removed removed

Lines of Context:
716
716
                self.knownFailure('Pyrex <0.9.5 fails with TypeError when'
717
717
                                  ' raising new style exceptions with python'
718
718
                                  ' >=2.5')
 
719
            else:
 
720
                raise
719
721
 
720
722
    def test_corrupted_parent(self):
721
723
        transport = MockTransport([
734
736
                self.knownFailure('Pyrex <0.9.5 fails with TypeError when'
735
737
                                  ' raising new style exceptions with python'
736
738
                                  ' >=2.5')
 
739
            else:
 
740
                raise
737
741
 
738
742
    def test_corrupted_parent_in_list(self):
739
743
        transport = MockTransport([
752
756
                self.knownFailure('Pyrex <0.9.5 fails with TypeError when'
753
757
                                  ' raising new style exceptions with python'
754
758
                                  ' >=2.5')
 
759
            else:
 
760
                raise
755
761
 
756
762
    def test_invalid_position(self):
757
763
        transport = MockTransport([
768
774
                self.knownFailure('Pyrex <0.9.5 fails with TypeError when'
769
775
                                  ' raising new style exceptions with python'
770
776
                                  ' >=2.5')
 
777
            else:
 
778
                raise
771
779
 
772
780
    def test_invalid_size(self):
773
781
        transport = MockTransport([
784
792
                self.knownFailure('Pyrex <0.9.5 fails with TypeError when'
785
793
                                  ' raising new style exceptions with python'
786
794
                                  ' >=2.5')
 
795
            else:
 
796
                raise
787
797
 
788
798
 
789
799
class LowLevelKnitIndexTests_c(LowLevelKnitIndexTests):