| Index: content/test/gpu/gpu_tests/pixel.py
|
| diff --git a/content/test/gpu/gpu_tests/pixel.py b/content/test/gpu/gpu_tests/pixel.py
|
| index 9ea1f7754e4d6e2087dbbbc5388c7c5a802ab4e0..0884751c30cac806b5f0b301eb307494f04f6649 100644
|
| --- a/content/test/gpu/gpu_tests/pixel.py
|
| +++ b/content/test/gpu/gpu_tests/pixel.py
|
| @@ -1,16 +1,14 @@
|
| # Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
| -from datetime import datetime
|
| import glob
|
| import json
|
| -import optparse
|
| import os
|
| import re
|
|
|
| -import cloud_storage_test_base
|
| +from gpu_tests import cloud_storage_test_base
|
| +from gpu_tests import pixel_expectations
|
| import page_sets
|
| -import pixel_expectations
|
|
|
| from catapult_base import cloud_storage
|
| from telemetry.page import page_test
|
| @@ -100,7 +98,7 @@ class PixelValidator(cloud_storage_test_base.ValidatorBase):
|
| # reference image, so download it from cloud storage.
|
| try:
|
| ref_png = self._DownloadFromCloudStorage(image_name, page, tab)
|
| - except cloud_storage.NotFoundError as e:
|
| + except cloud_storage.NotFoundError:
|
| # There is no reference image yet in cloud storage. This
|
| # happens when the revision of the test is incremented or when
|
| # a new test is added, because the trybots are not allowed to
|
|
|