15:53:11 00:00 [chroot]============== test session starts =============== platform darwin -- Python 2.7.6 -- py-1.4.28 -- pytest-2.6.4 plugins: cov, timeout collected 1 items tests/python/pants_test/backend/core/tasks/test_bash_completion.py F ==================== FAILURES ==================== __ BashCompletionTest.test_bash_completion_task __ self = def test_bash_completion_task(self): > self.assert_console_output("# Pants Autocompletion Support") tests/python/pants_test/backend/core/tasks/test_bash_completion.py:21: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /private/var/folders/__/7wg2c80n03b857kvzxzgzr5m0000gn/T/tmp8XKjJg/pants_test/tasks/task_test_base.py:150: in assert_console_output self.assertEqual(sorted(output), sorted(self.execute_console_task(**kwargs))) /private/var/folders/__/7wg2c80n03b857kvzxzgzr5m0000gn/T/tmp8XKjJg/pants_test/tasks/task_test_base.py:125: in execute_console_task return list(task.console_output(list(task.context.targets()) + list(extra_targets or ()))) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = targets = [] def console_output(self, targets): if targets: raise TaskError('This task does not accept any target addresses.') options = self.context.options goals = Goal.all() all_scopes = set() option_strings_by_scope = defaultdict(set) def record(scope, option_strings): option_strings_by_scope[scope] |= self.expand_option_strings(option_strings) for goal in goals: for scope in goal.known_scopes(): all_scopes.add(scope) option_strings_for_scope = set() parser = options.get_parser(scope).get_help_argparser() if parser: option_strings = self.option_strings_from_parser(parser) if parser else set() record(scope, option_strings) scoped_option_strings = self.generate_scoped_option_strings(option_strings, scope) record(scope, scoped_option_strings) if '.' in scope: outer_scope = scope.partition('.')[0] record(outer_scope, scoped_option_strings) # TODO: This does not currently handle subsystem-specific options. > global_argparser = options.get_parser(GLOBAL_SCOPE).get_help_argparser() E AttributeError: 'TestOptions' object has no attribute 'get_parser' src/python/pants/backend/core/tasks/bash_completion.py:101: AttributeError ============ 1 failed in 0.25 seconds ============