1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00

Remove unix line ending assumption.

These tests fail on Windows - issue #557
This commit is contained in:
Paul Nasrat 2012-06-02 23:30:45 +01:00
parent 8bdd852e5d
commit 44702b6bb3

View file

@ -67,7 +67,7 @@ def test_git_with_tag_name_and_update():
'%s@0.1.2#egg=pip-test-package' %
local_checkout('git+http://github.com/pypa/pip-test-package.git'),
expect_error=True)
assert '0.1.2\n' in result.stdout
assert '0.1.2' in result.stdout
def test_git_branch_should_not_be_changed():
@ -92,7 +92,7 @@ def test_git_with_non_editable_unpacking():
result = run_pip('install', '--global-option=--version', local_checkout(
'git+http://github.com/pypa/pip-test-package.git@0.1.2#egg=pip-test-package'
), expect_error=True)
assert '0.1.2\n' in result.stdout
assert '0.1.2' in result.stdout
def test_git_with_editable_where_egg_contains_dev_string():