@pytest.mark.parametrize('in_kwargs, kwargs', [({}, {'text': True}), ({'text': True}, {'text': True}), ({'text': False}, {'text': False}), ({'universal_newlines': False}, {'universal_newlines': False}), ({'universal_newlines': True}, {'universal_newlines': True})])
def test_text_eq_true_default_overriding(mock_sub, in_kwargs, kwargs):
    'if text or universal_newlines is explicitly provided, those should\n    override text=true default.'
    mock_sub.parse_output(splitlines_parser, ['hello', 'world'], **in_kwargs)
    mock_sub._subprocess.check_output.assert_called_with(['hello', 'world'], **kwargs)
if text or universal_newlines is explicitly provided, those should
override text=true default.
@pytest.mark.parametrize('in_kwargs, kwargs', [({}, {'text': True}), ({'text': True}, {'text': True}), ({'text': False}, {'text': False}), ({'universal_newlines': False}, {'universal_newlines': False}), ({'universal_newlines': True}, {'universal_newlines': True})])
def test_text_eq_true_default_overriding(mock_sub, in_kwargs, kwargs):
    'if text or universal_newlines is explicitly provided, those should\n    override text=true default.'
    mock_sub.parse_output(splitlines_parser, ['hello', 'world'], **in_kwargs)
    mock_sub._subprocess.check_output.assert_called_with(['hello', 'world'], **kwargs)