summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/test_unit.py16
1 files changed, 4 insertions, 12 deletions
diff --git a/tests/test_unit.py b/tests/test_unit.py
index 4af9bd3..d107e9d 100644
--- a/tests/test_unit.py
+++ b/tests/test_unit.py
@@ -2939,33 +2939,25 @@ class Test2_WithoutPackrat(TestParseResultsAsserts):
return
class CallableC3:
- # ~ @classmethod
+ @classmethod
def __call__(cls, s, l, t):
return t
- __call__ = classmethod(__call__)
-
class CallableC2:
- # ~ @classmethod
+ @classmethod
def __call__(cls, l, t):
return t
- __call__ = classmethod(__call__)
-
class CallableC1:
- # ~ @classmethod
+ @classmethod
def __call__(cls, t):
return t
- __call__ = classmethod(__call__)
-
class CallableC0:
- # ~ @classmethod
+ @classmethod
def __call__(cls):
return
- __call__ = classmethod(__call__)
-
class parseActionHolder:
@staticmethod
def pa3(s, l, t):