def test_show_with_files_not_found(script, data):
    editable = data.packages.join('SetupPyUTF8')
    script.pip('install', '-e', editable)
    result = script.pip('show', '-f', 'SetupPyUTF8')
    lines = result.stdout.split('\n')
    assert len(lines) == 15
    assert lines[0] == '---', lines[0]
    assert 'Name: SetupPyUTF8' in lines
    assert 'Version: 0.0.0' in lines
    assert any(line.startswith('Location: ') for line in lines)
    assert 'Requires: ' in lines
    assert 'Files:' in lines
    assert 'Cannot locate installed-files.txt' in lines
Test for show command with installed files listing enabled and
dataset/ETHPy150Open pypa/pip/tests/functional/test_show.py/test_show_with_files_not_found