# HG changeset patch # User Augie Fackler # Date 1286055857 18000 # Node ID c33293a347525f6279a98ddc411deb9589fd01b7 # Parent 7e55483a56ca9320759fbbc38e7a98b8e7c9addf requiresoption: clean up docstring diff --git a/tests/test_util.py b/tests/test_util.py --- a/tests/test_util.py +++ b/tests/test_util.py @@ -89,12 +89,7 @@ FIXTURES = os.path.join(os.path.abspath( 'fixtures') def requiresoption(option): - ''' - Decorator for test functions which require clone to accept the given option. - If the option isn't available, the test is skipped. - - Takes one argument: the required option. - ''' + '''Skip a test if commands.clone does not take the specified option.''' def decorator(fn): for entry in cmdutil.findcmd('clone', commands.table)[1][1]: if entry[1] == option: