From e46979c3542db95304f0143c14ae604c0bc8ce58 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Mon, 26 May 2014 10:51:19 +0200 Subject: [PATCH] improved static analysis found mistakes in its own test suite --- test/static_analysis/attribute_error.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/static_analysis/attribute_error.py b/test/static_analysis/attribute_error.py index b7c07855..e05879b5 100644 --- a/test/static_analysis/attribute_error.py +++ b/test/static_analysis/attribute_error.py @@ -26,9 +26,9 @@ class Cls(): #! 13 name-error class_attr = a -Cls().defined_lookup('') +Cls(1).defined_lookup('') -c = Cls() +c = Cls(1) c.class_attr Cls.class_attr #! 4 attribute-error