1# Copyright (c) 2014 The Chromium OS Authors. All rights reserved. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5from collections import namedtuple 6 7 8# light weight data structure to represent the result of an image comparison 9ComparisonResult = namedtuple('ComparisonResult', 10 'diff_pixel_count comparison_url ' 11 'pdiff_image_path') 12 13ComparisonResult.__new__.__defaults__ = (0, '', None) 14