aboutsummaryrefslogtreecommitdiff
path: root/crosperf/download_images_unittest.py
diff options
context:
space:
mode:
Diffstat (limited to 'crosperf/download_images_unittest.py')
-rwxr-xr-xcrosperf/download_images_unittest.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/crosperf/download_images_unittest.py b/crosperf/download_images_unittest.py
index 94504d3f..62b8d891 100755
--- a/crosperf/download_images_unittest.py
+++ b/crosperf/download_images_unittest.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/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
@@ -10,8 +10,7 @@ from __future__ import print_function
import os
import unittest
-
-import mock
+import unittest.mock as mock
import download_images
from cros_utils import command_executer