/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_command.py

  • Committer: John Arbash Meinel
  • Date: 2006-10-06 05:53:44 UTC
  • mfrom: (2063 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2071.
  • Revision ID: john@arbash-meinel.com-20061006055344-e73b97b7c6ca6e72
[merge] bzr.dev 2063

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
    errors,
22
22
    )
23
23
from bzrlib.commands import display_command
24
 
from bzrlib.tests import TestCase
 
24
from bzrlib.tests import TestCase, TestSkipped
25
25
 
26
26
 
27
27
class TestCommands(TestCase):
49
49
    def test_unicode_option(self):
50
50
        # This error is actually thrown by optparse, when it
51
51
        # can't find the given option
 
52
        import optparse
 
53
        if optparse.__version__ == "1.5.3":
 
54
            raise TestSkipped("optparse 1.5.3 can't handle unicode options")
52
55
        self.assertRaises(errors.BzrCommandError,
53
56
                          commands.run_bzr, ['log', u'--option\xb5'])
54
57