Removed python_version_test
@@ -57,18 +57,6 @@ def test_cli_version(cli_runner, version_cli_flag):
assert result.output.startswith('Cookiecutter')
-def test_cli_version_python(cli_runner, version_cli_flag):
- """Verify correct Python version output by `cookiecutter` on cli invocation."""
- result = cli_runner(version_cli_flag)
- python_major_number = sys.version_info.major
- python_minor_number = sys.version_info.minor
- version_output_string = result.output[:-1]
- version_output_string = version_output_string[-5:-1]
- if version_output_string[0] == ' ':
- version_output_string = version_output_string[1:]
- assert f'{python_major_number}.{python_minor_number}' == version_output_string
-
-
@pytest.mark.usefixtures('make_fake_project_dir', 'remove_fake_project_dir')
def test_cli_error_on_existing_output_directory(cli_runner):
"""Test cli invocation without `overwrite-if-exists` fail if dir exist."""
