delete testToTCompatibility (for branches only)

This unit test should not be run on chromite branches. This CL deletes
it.

BUG=chromium:405099
TEST=None

Change-Id: Ibc2de609142d96e7dcd4d31061e07333b90a8986
(cherry picked from commit 2aaf3fb09fba9c8fabedfe0a6eb2c961df11205b)
Reviewed-on: https://chromium-review.googlesource.com/213135
Tested-by: Aviv Keshet <akeshet@chromium.org>
Reviewed-by: David James <davidjames@chromium.org>
Commit-Queue: Aviv Keshet <akeshet@chromium.org>
diff --git a/cbuildbot/validation_pool_unittest.py b/cbuildbot/validation_pool_unittest.py
index 62956db..f6c2f6a 100755
--- a/cbuildbot/validation_pool_unittest.py
+++ b/cbuildbot/validation_pool_unittest.py
@@ -25,7 +25,6 @@
 from chromite.cbuildbot import failures_lib
 from chromite.cbuildbot import results_lib
 from chromite.cbuildbot import metadata_lib
-from chromite.cbuildbot import repository
 from chromite.cbuildbot import tree_status
 from chromite.cbuildbot import validation_pool
 from chromite.lib import cros_build_lib
@@ -1041,38 +1040,6 @@
     """Verify compatibility of current git HEAD against itself."""
     self._CheckTestData(self._GetTestData())
 
-  def testToTCompatibility(self):
-    """Validate that ToT can use our pickles, and that we can use ToT's data."""
-    repo = os.path.join(self.tempdir, 'chromite')
-    reference = os.path.abspath(__file__)
-    reference = os.path.normpath(os.path.join(reference, '../../'))
-
-    repository.CloneGitRepo(
-        repo,
-        '%s/chromiumos/chromite' % constants.EXTERNAL_GOB_URL,
-        reference=reference)
-
-    code = """
-import sys
-from chromite.cbuildbot import validation_pool_unittest
-if not hasattr(validation_pool_unittest, 'TestPickling'):
-  sys.exit(0)
-sys.stdout.write(validation_pool_unittest.TestPickling.%s)
-"""
-
-    # Verify ToT can take our pickle.
-    cros_build_lib.RunCommand(
-        ['python', '-c', code % '_CheckTestData(sys.stdin.read())'],
-        cwd=self.tempdir, print_cmd=False, capture_output=True,
-        input=self._GetTestData())
-
-    # Verify we can handle ToT's pickle.
-    ret = cros_build_lib.RunCommand(
-        ['python', '-c', code % '_GetTestData()'],
-        cwd=self.tempdir, print_cmd=False, capture_output=True)
-
-    self._CheckTestData(ret.output)
-
   @staticmethod
   def _GetCrosInternalPatch(patch_info):
     return cros_patch.GerritPatch(