llvm_tools: remove future import
Now that we're guaranteed to be on py3, this isn't
needed. Mostly doing this to test a crbug feature.
Fixed: 1109998
BUG=chromium:1109998
TEST=None
Change-Id: I1f5d0c9c7c1297e9281be07ced4127e42546b3c8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2321109
Tested-by: George Burgess <gbiv@chromium.org>
Reviewed-by: Denis Nikitin <denik@chromium.org>
diff --git a/llvm_tools/git_llvm_rev_test.py b/llvm_tools/git_llvm_rev_test.py
index 775ab1e..74280c5 100755
--- a/llvm_tools/git_llvm_rev_test.py
+++ b/llvm_tools/git_llvm_rev_test.py
@@ -6,8 +6,6 @@
"""Tests for git_llvm_rev."""
-from __future__ import print_function
-
import unittest
import git_llvm_rev
@@ -63,8 +61,8 @@
def test_imaginary_revs_raise(self) -> None:
with self.assertRaises(ValueError) as r:
git_llvm_rev.translate_rev_to_sha(
- get_llvm_config(), git_llvm_rev.Rev(
- branch=MAIN_BRANCH, number=9999999))
+ get_llvm_config(),
+ git_llvm_rev.Rev(branch=MAIN_BRANCH, number=9999999))
self.assertIn('Try updating your tree?', str(r.exception))