summaryrefslogtreecommitdiff
path: root/pylint/test/input/func_noerror_staticmethod_as_decorator_py24.py
diff options
context:
space:
mode:
Diffstat (limited to 'pylint/test/input/func_noerror_staticmethod_as_decorator_py24.py')
-rw-r--r--pylint/test/input/func_noerror_staticmethod_as_decorator_py24.py33
1 files changed, 0 insertions, 33 deletions
diff --git a/pylint/test/input/func_noerror_staticmethod_as_decorator_py24.py b/pylint/test/input/func_noerror_staticmethod_as_decorator_py24.py
deleted file mode 100644
index 8b614a2..0000000
--- a/pylint/test/input/func_noerror_staticmethod_as_decorator_py24.py
+++ /dev/null
@@ -1,33 +0,0 @@
-# pylint: disable=R0903
-"""test staticmethod and classmethod as decorator"""
-
-__revision__ = None
-
-class StaticMethod1(object):
- """staticmethod test"""
- def __init__(self):
- pass
-
- @staticmethod
- def do_work():
- "Working..."
-
- @staticmethod
- def do_work_with_arg(job):
- "Working on something"
- return "Working on %s..." % job
-
-
-class ClassMethod2(object):
- """classmethod test"""
- def __init__(self):
- pass
-
- @classmethod
- def do_work(cls):
- "Working..."
-
- @classmethod
- def do_work_with_arg(cls, job):
- "Working on something"
- return "Working on %s..." % job