~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Martin Pool
  • Date: 2011-06-19 02:24:39 UTC
  • mfrom: (5985 +trunk)
  • mto: This revision was merged to the branch mainline in revision 6001.
  • Revision ID: mbp@canonical.com-20110619022439-u68683yb2bw302x0
resolve conflicts against 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
 
from bzrlib.tests import TestCase
34
 
 
35
 
 
36
 
class TestExceptionReporting(TestCase):
 
33
 
 
34
class TestExceptionReporting(tests.TestCaseInTempDir):
37
35
 
38
36
    def test_exception_exitcode(self):
39
37
        # we must use a subprocess, because the normal in-memory mechanism
63
61
        self.assertEquals(out, "")
64
62
 
65
63
 
66
 
class TestOptParseBugHandling(TestCase):
 
64
class TestOptParseBugHandling(tests.TestCase):
67
65
    "Test that we handle http://bugs.python.org/issue2931"
68
66
 
69
67
    def test_nonascii_optparse(self):