~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/test_command.py

[merge] robertc's integration, updated tests to check for retcode=3

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
class TestCommands(TestCase):
22
22
    def test_display_command(self):
 
23
        """EPIPE message is selectively suppressed"""
23
24
        def pipe_thrower():
24
25
            raise IOError(errno.EPIPE, "Bogus pipe error")
25
26
        self.assertRaises(IOError, pipe_thrower)