Formatting: Format all python code with black.

This CL is probably not what you're looking for, it's only
automated formatting. Ignore it with
`git blame --ignore-rev <revision>` for this commit.

BUG=b:233893248
TEST=CQ

Change-Id: I66591d7a738d241aed3290138c0f68065ab10a6d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/chromite/+/3879174
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Tested-by: Alex Klein <saklein@chromium.org>
diff --git a/scripts/virtualenv_wrapper_unittest.py b/scripts/virtualenv_wrapper_unittest.py
index fb27386..e4754e0 100644
--- a/scripts/virtualenv_wrapper_unittest.py
+++ b/scripts/virtualenv_wrapper_unittest.py
@@ -15,40 +15,43 @@
 
 
 class VirtualEnvTest(cros_test_lib.TestCase):
-  """Test that we are running in a virtualenv."""
+    """Test that we are running in a virtualenv."""
 
-  # pylint: disable=protected-access
-
-
-  def testModuleIsFromVenv(self):
-    """Test that we import |six| from the virtualenv."""
-    # Note: The |six| module is chosen somewhat arbitrarily, but it happens to
-    # be provided inside the chromite virtualenv.
-    six = __import__('six')
-    req_path = os.path.dirname(os.path.realpath(six.__file__))
-    self.assertIn('/.cache/cros_venv/', req_path)
-
-
-  def testInsideVenv(self):
-    """Test that we are inside a virtualenv."""
     # pylint: disable=protected-access
-    self.assertTrue(
-        (hasattr(sys, 'real_prefix') or
-         (hasattr(sys, 'base_prefix') and sys.base_prefix != sys.prefix)))
 
-  def testVenvMarkers(self):
-    """Test that the virtualenv marker functions work."""
-    # pylint: disable=protected-access
-    test_env = {'PATH': '/bin:/usr/bin'}
-    self.assertFalse(virtualenv_wrapper._IsInsideVenv(test_env))
-    new_test_env = virtualenv_wrapper._CreateVenvEnvironment(test_env)
-    self.assertTrue(virtualenv_wrapper._IsInsideVenv(new_test_env))
+    def testModuleIsFromVenv(self):
+        """Test that we import |six| from the virtualenv."""
+        # Note: The |six| module is chosen somewhat arbitrarily, but it happens to
+        # be provided inside the chromite virtualenv.
+        six = __import__("six")
+        req_path = os.path.dirname(os.path.realpath(six.__file__))
+        self.assertIn("/.cache/cros_venv/", req_path)
 
+    def testInsideVenv(self):
+        """Test that we are inside a virtualenv."""
+        # pylint: disable=protected-access
+        self.assertTrue(
+            (
+                hasattr(sys, "real_prefix")
+                or (
+                    hasattr(sys, "base_prefix")
+                    and sys.base_prefix != sys.prefix
+                )
+            )
+        )
 
-  def testCreateVenvEnvironmentNoSideEffect(self):
-    """Test that _CreateVenvEnvironment doesn't modify input dict."""
-    # pylint: disable=protected-access
-    test_env = {'PATH': '/bin:/usr/bin'}
-    original = test_env.copy()
-    virtualenv_wrapper._CreateVenvEnvironment(test_env)
-    self.assertEqual(test_env, original)
+    def testVenvMarkers(self):
+        """Test that the virtualenv marker functions work."""
+        # pylint: disable=protected-access
+        test_env = {"PATH": "/bin:/usr/bin"}
+        self.assertFalse(virtualenv_wrapper._IsInsideVenv(test_env))
+        new_test_env = virtualenv_wrapper._CreateVenvEnvironment(test_env)
+        self.assertTrue(virtualenv_wrapper._IsInsideVenv(new_test_env))
+
+    def testCreateVenvEnvironmentNoSideEffect(self):
+        """Test that _CreateVenvEnvironment doesn't modify input dict."""
+        # pylint: disable=protected-access
+        test_env = {"PATH": "/bin:/usr/bin"}
+        original = test_env.copy()
+        virtualenv_wrapper._CreateVenvEnvironment(test_env)
+        self.assertEqual(test_env, original)