

def test_freeze_with_local_option(script):
    '\n    Test that wsgiref (from global site-packages) is reported normally, but not\n    with --local.\n    '
    result = script.pip_install_local('initools==0.2')
    result = script.pip('freeze', expect_stderr=True)
    expected = textwrap.dedent('        INITools==0.2\n        wsgiref==...\n        <BLANKLINE>')
    result = script.pip('freeze', '--local', expect_stderr=True)
    expected = textwrap.dedent('        INITools==0.2\n        <BLANKLINE>')
    _check_output(expected.stdout, expected)

dataset/ETHPy150Open pypa/pip/tests/functional/test_freeze.py test_freeze_with_local_option/VarMisuse@69/174 `result`->`expected`