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