Searched refs:assertCallStack (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_class.py | 136 def assertCallStack(self, expected_calls): member in ClassTests 145 self.assertCallStack([("__init__", (foo,))]) 153 self.assertCallStack([("__coerce__", (testme, 1)), ("__add__", (testme, 1))]) 157 self.assertCallStack([("__coerce__", (testme, 1)), ("__radd__", (testme, 1))]) 161 self.assertCallStack([("__coerce__", (testme, 1)), ("__sub__", (testme, 1))]) 165 self.assertCallStack([("__coerce__", (testme, 1)), ("__rsub__", (testme, 1))]) 169 self.assertCallStack([("__coerce__", (testme, 1)), ("__mul__", (testme, 1))]) 173 self.assertCallStack([("__coerce__", (testme, 1)), ("__rmul__", (testme, 1))]) 178 self.assertCallStack([("__coerce__", (testme, 1)), ("__div__", (testme, 1))]) 183 self.assertCallStack([("__coerce__", (testme, 1)), ("__rdiv__", (testme, 1))]) [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_class.py | 141 def assertCallStack(self, expected_calls): member in ClassTests 150 self.assertCallStack([("__init__", (foo,))]) 158 self.assertCallStack([("__add__", (testme, 1))]) 162 self.assertCallStack([("__radd__", (testme, 1))]) 166 self.assertCallStack([("__sub__", (testme, 1))]) 170 self.assertCallStack([("__rsub__", (testme, 1))]) 174 self.assertCallStack([("__mul__", (testme, 1))]) 178 self.assertCallStack([("__rmul__", (testme, 1))]) 182 self.assertCallStack([("__matmul__", (testme, 1))]) 186 self.assertCallStack([("__rmatmul__", (testme, 1))]) [all …]
|