Fix tests on Python 2.6

This commit is contained in:
Donald Stufft 2015-01-28 17:40:02 -05:00
parent 108f5db06f
commit 311622bcfa
1 changed files with 3 additions and 1 deletions

View File

@ -126,7 +126,8 @@ def test_freeze_git_clone(script, tmpdir):
)
result = script.run(
'python', 'setup.py', 'develop',
cwd=repo_dir
cwd=repo_dir,
expect_stderr=True,
)
result = script.pip('freeze', expect_stderr=True)
expected = textwrap.dedent(
@ -284,6 +285,7 @@ def test_freeze_bazaar_clone(script, tmpdir):
result = script.run(
'python', 'setup.py', 'develop',
cwd=script.scratch_path / 'django-wikiapp',
expect_stderr=True,
)
result = script.pip('freeze', expect_stderr=True)
expected = textwrap.dedent("""\