diff --git a/suby/proxy_module.py b/suby/proxy_module.py index 87e59b4..31980c0 100644 --- a/suby/proxy_module.py +++ b/suby/proxy_module.py @@ -102,6 +102,7 @@ def convert_arguments(arguments: Tuple[Union[str, Path], ...], split: bool) -> L try: for sub_argument in shlex_split(argument): converted_arguments.append(sub_argument) + # TODO: delete this no cover comments when argument checking will be added to mslex. except Exception as e: # pragma: no cover raise WrongCommandError(f'The expression "{argument}" cannot be parsed.') from e # pragma: no cover else: diff --git a/tests/test_proxy_module.py b/tests/test_proxy_module.py index 2b1aaf3..7ed7cba 100644 --- a/tests/test_proxy_module.py +++ b/tests/test_proxy_module.py @@ -518,6 +518,7 @@ def test_multiple_args_without_split(command): assert result.returncode == 0 +# TODO: delete this skip when argument checking will be added to mslex. @pytest.mark.skipif(platform.system() == 'Windows', reason='There is no errors like this in mslex.') @pytest.mark.parametrize( ['command', 'exception_message'],