mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
fix missing ignores in uninstall tests (revealed by fixed diff_states)
This commit is contained in:
parent
28681189b0
commit
974de4eaff
1 changed files with 2 additions and 2 deletions
|
@ -40,7 +40,7 @@ Uninstall an editable installation from svn::
|
|||
>>> egg_link = result.files_created[lib_py + 'site-packages/INITools.egg-link']
|
||||
>>> result2 = run_pip('uninstall', '-y', 'initools', expect_error=True)
|
||||
>>> assert ('src/initools' in result2.files_after), 'oh noes, pip deleted my sources!'
|
||||
>>> diff_states(result.files_before, result2.files_after, ignore=['src/initools']).values()
|
||||
>>> diff_states(result.files_before, result2.files_after, ignore=['src/initools', 'build']).values()
|
||||
[{}, {}, {}]
|
||||
|
||||
Uninstall from a requirements file::
|
||||
|
@ -53,5 +53,5 @@ Uninstall from a requirements file::
|
|||
... ''')
|
||||
>>> result = run_pip('install', '-r', 'test-req.txt')
|
||||
>>> result2 = run_pip('uninstall', '-r', 'test-req.txt', '-y')
|
||||
>>> diff_states(result.files_before, result2.files_after, ignore=['build']).values()
|
||||
>>> diff_states(result.files_before, result2.files_after, ignore=['build', 'src/initools']).values()
|
||||
[{}, {}, {}]
|
||||
|
|
Loading…
Reference in a new issue