Commit 5c84682f authored by Jason R. Coombs's avatar Jason R. Coombs

Delint

parent 6498a7e3
......@@ -126,7 +126,9 @@ class TestEasyInstallTest:
site.getsitepackages.
"""
path = normalize_path('/setuptools/test/site-packages')
mock_gsp = lambda: [path]
def mock_gsp():
return [path]
monkeypatch.setattr(site, 'getsitepackages', mock_gsp, raising=False)
assert path in ei.get_site_dirs()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment