diff --git a/tests/test_uninstall.py b/tests/test_uninstall.py index fc3f843ebb28f3e179777337d3c200c8e61df660..21b111710c937cd27022d19ba6ad1307722f4729 100644 --- a/tests/test_uninstall.py +++ b/tests/test_uninstall.py @@ -14,9 +14,9 @@ def test_simple_uninstall(): """ env = reset_env() - result = run_pip('install', 'INITools==0.2', expect_error=True) + result = run_pip('install', 'INITools==0.2') assert join(env.site_packages, 'initools') in result.files_created, sorted(result.files_created.keys()) - result2 = run_pip('uninstall', 'INITools', '-y', expect_error=True) + result2 = run_pip('uninstall', 'INITools', '-y') assert_all_changes(result, result2, [env.venv/'build', 'cache'])