~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

Move all features to bzrlib.tests.features in 2.5

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):