third_party/blink/tools/blinkpy/style/optparser_unittest.py
def _create_parser(self):
        """Return an ArgumentParser instance for testing."""
        default_options = self._create_defaults()

        all_categories = ['build', 'whitespace']

        mock_stderr = self._MockStdErr()

        return ArgumentParser(
            all_categories=all_categories,
            base_filter_rules=[],
            default_options=default_options,
            mock_stderr=mock_stderr,
            usage='test usage')
Return an ArgumentParser instance for testing.
Return an ArgumentParser instance for testing.
Return an ArgumentParser instance for testing .
def _create_parser(self):
        default_options = self._create_defaults()
        all_categories = ['build', 'whitespace']
        mock_stderr = self._MockStdErr()
        return ArgumentParser(
            all_categories=all_categories,
            base_filter_rules=[],
            default_options=default_options,
            mock_stderr=mock_stderr,
            usage='test usage')
def _create_parser ( self ) : default_options = self . _create_defaults ( ) all_categories = [ 'build' , 'whitespace' ] mock_stderr = self . _MockStdErr ( ) return ArgumentParser ( all_categories = all_categories , base_filter_rules = [ ] , default_options = default_options , mock_stderr = mock_stderr , usage = 'test usage' )
Return an ArgumentParser instance for testing.
Return an ArgumentParser instance for testing .
"""Return an ArgumentParser instance for testing."""
self