~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_exceptions.py

  • Committer: Vincent Ladeuil
  • Date: 2011-06-16 18:34:26 UTC
  • mfrom: (5609.46.3 2.3.4-dev)
  • mto: This revision was merged to the branch mainline in revision 5980.
  • Revision ID: v.ladeuil+lp@free.fr-20110616183426-oj818x56zm7yzvb8
Merge 2.3 into trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
    )
31
31
from bzrlib.repofmt.groupcompress_repo import RepositoryFormat2a
32
32
 
33
 
 
34
 
class TestExceptionReporting(tests.TestCaseInTempDir):
 
33
from bzrlib.tests import TestCase
 
34
 
 
35
 
 
36
class TestExceptionReporting(TestCase):
35
37
 
36
38
    def test_exception_exitcode(self):
37
39
        # we must use a subprocess, because the normal in-memory mechanism
61
63
        self.assertEquals(out, "")
62
64
 
63
65
 
64
 
class TestOptParseBugHandling(tests.TestCase):
 
66
class TestOptParseBugHandling(TestCase):
65
67
    "Test that we handle http://bugs.python.org/issue2931"
66
68
 
67
69
    def test_nonascii_optparse(self):