mirror of https://github.com/pypa/pip
Fix tests
This commit is contained in:
parent
734bfb8e4c
commit
cc7d178712
|
@ -112,7 +112,9 @@ class TestInstallRequirement(object):
|
|||
|
||||
def test_repr(self):
|
||||
req = InstallRequirement.from_line('simple==0.1')
|
||||
assert repr(req) == '<InstallRequirement object: simple==0.1>'
|
||||
assert repr(req) == (
|
||||
'<InstallRequirement object: simple==0.1 editable=False>'
|
||||
)
|
||||
|
||||
def test_invalid_wheel_requirement_raises(self):
|
||||
with pytest.raises(InvalidWheelFilename):
|
||||
|
|
Loading…
Reference in New Issue