summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmile Anclin <emile.anclin@logilab.fr>2010-12-01 17:59:12 +0100
committerEmile Anclin <emile.anclin@logilab.fr>2010-12-01 17:59:12 +0100
commitfb64c733945e719d8b5d3f5e467cb0c0b01a0fb0 (patch)
tree2b3d4f905b65ad3f27044e143cc13546730d47bd
parent55bcdbbfefbe7e6141351a449f7196653110b169 (diff)
downloadastroid-git-fb64c733945e719d8b5d3f5e467cb0c0b01a0fb0.tar.gz
fix test comment
-rw-r--r--test/unittest_lookup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unittest_lookup.py b/test/unittest_lookup.py
index 091cce03..388c2b2c 100644
--- a/test/unittest_lookup.py
+++ b/test/unittest_lookup.py
@@ -243,7 +243,7 @@ num = iterer.next()
""")
next = tree.body[2].value.func # Getattr
gener = next.expr.infered()[0] # Genrator
- # TODO : this is because we dont support function attributes:
+ # XXX gener._proxied is a Function which has no instance_attr
self.assertRaises(AttributeError, gener.getattr, 'next')
def test_explicit___name__(self):