aboutsummaryrefslogtreecommitdiff
path: root/cros_utils/misc_test.py
diff options
context:
space:
mode:
authorZhizhou Yang <zhizhouy@google.com>2019-12-23 16:56:26 -0800
committerCommit Bot <commit-bot@chromium.org>2020-01-09 07:34:17 +0000
commit45e4c1f8be303b43030e3dfac6cab5cd67d10a99 (patch)
treef00931a3bf505fded2f375f7589b41e6dfc34f18 /cros_utils/misc_test.py
parente41baa8073f6f5d160ef8cf75ccb7ca9beb1ad72 (diff)
downloadtoolchain-utils-45e4c1f8be303b43030e3dfac6cab5cd67d10a99.tar.gz
toolchain-utils: Migrate cros_utils to python3
This patch fixes all presubmit checks in cros_utils and migrated it from python2 to python3. TEST=Passed all unittests and presubmit checks. BUG=chromium:1011676 Change-Id: I3a7097d6570fb2cb4e5dcdd5ae22f30c5c5762e9 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/1981087 Commit-Queue: Zhizhou Yang <zhizhouy@google.com> Tested-by: Zhizhou Yang <zhizhouy@google.com> Auto-Submit: Zhizhou Yang <zhizhouy@google.com> Reviewed-by: George Burgess <gbiv@chromium.org>
Diffstat (limited to 'cros_utils/misc_test.py')
-rwxr-xr-x[-rw-r--r--]cros_utils/misc_test.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/cros_utils/misc_test.py b/cros_utils/misc_test.py
index 80082207..cb7b8c89 100644..100755
--- a/cros_utils/misc_test.py
+++ b/cros_utils/misc_test.py
@@ -1,4 +1,9 @@
-# Copyright 2012 Google Inc. All Rights Reserved.
+#!/usr/bin/env python3
+# -*- coding: utf-8 -*-
+# Copyright 2019 The Chromium OS Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
"""Tests for misc."""
from __future__ import print_function