Commits

Ian Bicking committed 1a17156

formatting

Comments (0)

Files changed (1)

tests/test_upgrade.py

 def test_no_upgrade_unless_requested():
     """
     No upgrade if not specifically requested.
-    
+
     """
     reset_env()
     result = run_pip('install', 'INITools==0.1', expect_error=True)
 def test_upgrade_to_specific_version():
     """
     It does upgrade to specific version requested.
-    
+
     """
     reset_env()
     result = run_pip('install', 'INITools==0.1', expect_error=True)
 def test_upgrade_if_requested():
     """
     And it does upgrade if requested.
-    
+
     """
     reset_env()
     result = run_pip('install', 'INITools==0.1', expect_error=True)
 def test_uninstall_before_upgrade():
     """
     Automatic uninstall-before-upgrade.
-    
+
     """
     reset_env()
     result = run_pip('install', 'INITools==0.2', expect_error=True)
 def test_upgrade_from_reqs_file():
     """
     Upgrade from a requirements file.
-    
+
     """
     reset_env()
     write_file('test-req.txt', textwrap.dedent("""\
     """
     Test uninstall-rollback (using test package with a setup.py
     crafted to fail on install).
-    
+
     """
     reset_env()
     env = get_env()
     assert result2.returncode == 1, str(result2)
     env.run(join(env.base_path, 'bin', 'python'), '-c', "import broken; print broken.VERSION").stdout
     '0.1\n'
-    assert diff_states(result.files_after, result2.files_after, ignore=['build', 'pip-log.txt']).values() == [{}, {}, {}]
-
+    assert diff_states(result.files_after, result2.files_after, ignore=['build', 'pip-log.txt']).values() == [{}, {}, {}], diff_states(result.files_after, result2.files_after, ignore=['build', 'pip-log.txt'])