1
1
Fork 0
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:
Ian Bicking 2009-10-07 18:52:23 -05:00
parent d3c4430d36
commit 3e2a044b23

View file

@ -32,15 +32,15 @@ Upgrade from a requirements file::
>>> reset_env()
>>> write_file('test-req.txt', '''\
... Markdown<2.0
... PyLogo<0.4
... # and something else to test out:
... simplejson<=1.7.4
... INITools==0.3
... ''')
>>> result = run_pip('install', '-r', 'test-req.txt')
>>> write_file('test-req.txt', '''\
... Markdown
... PyLogo
... # and something else to test out:
... simplejson
... INITools
... ''')
>>> result2 = run_pip('install', '--upgrade', '-r', 'test-req.txt')
>>> result3 = run_pip('uninstall', '-r', 'test-req.txt', '-y')