mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
Use different packages to test (Markdown requires ElementTree on Python<2.5, and simplejson compiles stuff)
This commit is contained in:
parent
d3c4430d36
commit
3e2a044b23
1 changed files with 4 additions and 4 deletions
|
@ -32,15 +32,15 @@ Upgrade from a requirements file::
|
||||||
|
|
||||||
>>> reset_env()
|
>>> reset_env()
|
||||||
>>> write_file('test-req.txt', '''\
|
>>> write_file('test-req.txt', '''\
|
||||||
... Markdown<2.0
|
... PyLogo<0.4
|
||||||
... # and something else to test out:
|
... # and something else to test out:
|
||||||
... simplejson<=1.7.4
|
... INITools==0.3
|
||||||
... ''')
|
... ''')
|
||||||
>>> result = run_pip('install', '-r', 'test-req.txt')
|
>>> result = run_pip('install', '-r', 'test-req.txt')
|
||||||
>>> write_file('test-req.txt', '''\
|
>>> write_file('test-req.txt', '''\
|
||||||
... Markdown
|
... PyLogo
|
||||||
... # and something else to test out:
|
... # and something else to test out:
|
||||||
... simplejson
|
... INITools
|
||||||
... ''')
|
... ''')
|
||||||
>>> result2 = run_pip('install', '--upgrade', '-r', 'test-req.txt')
|
>>> result2 = run_pip('install', '--upgrade', '-r', 'test-req.txt')
|
||||||
>>> result3 = run_pip('uninstall', '-r', 'test-req.txt', '-y')
|
>>> result3 = run_pip('uninstall', '-r', 'test-req.txt', '-y')
|
||||||
|
|
Loading…
Reference in a new issue