From a19bf59351c965ca3e5d18be2c441400ba75c61e Mon Sep 17 00:00:00 2001 From: markm Date: Fri, 12 Oct 2007 14:42:13 +0000 Subject: [PATCH] * Fixed a variable name (from fname -> font_name as fname was not set!) --- pywinauto/tests/comparetoreffont.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pywinauto/tests/comparetoreffont.py b/pywinauto/tests/comparetoreffont.py index d61eceb..fed45ea 100644 --- a/pywinauto/tests/comparetoreffont.py +++ b/pywinauto/tests/comparetoreffont.py @@ -79,7 +79,6 @@ _font_attribs = [field[0] for field in win32structures.LOGFONTW._fields_] def CompareToRefFontTest(windows): "Compare the font to the font of the reference control" - bugs = [] for win in windows: # if no reference then skip the control @@ -100,7 +99,7 @@ def CompareToRefFontTest(windows): bugs.append(( [win, ], { - "ValueType": fname, + "ValueType": font_attrib, "Ref": unicode(ref_value), "Loc": unicode(loc_value), },