diff options
author | Emile Anclin <emile.anclin@logilab.fr> | 2010-10-21 15:53:33 +0200 |
---|---|---|
committer | Emile Anclin <emile.anclin@logilab.fr> | 2010-10-21 15:53:33 +0200 |
commit | a303f83515532a5e37f843f7ebcf1b9ba73ea13e (patch) | |
tree | 3179b435541b7000530259e5eacb9a10be0f511c | |
parent | d365d7605dd42e87f42787916067faa45fb67922 (diff) | |
download | pylint-a303f83515532a5e37f843f7ebcf1b9ba73ea13e.tar.gz |
add a minimal class decorator test
-rw-r--r-- | test/input/func_noerror_class_decorators_py26.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/input/func_noerror_class_decorators_py26.py b/test/input/func_noerror_class_decorators_py26.py new file mode 100644 index 0000000..ef7f1ef --- /dev/null +++ b/test/input/func_noerror_class_decorators_py26.py @@ -0,0 +1,9 @@ +"""test class decorator are recognized""" +# pylint: disable=R0903,W0232,C + +from logilab.common.deprecation import deprecated, class_moved + +@deprecated('This is a bad class name; use %s to rename' % class_moved) +class Foo: + '''foo goo''' + |