(self)
| 1145 | reduce = staticmethod(py_functools.reduce) |
| 1146 | |
| 1147 | def test_reduce_with_kwargs(self): |
| 1148 | with self.assertWarns(DeprecationWarning): |
| 1149 | self.reduce(function=lambda x, y: x + y, sequence=[1, 2, 3, 4, 5], initial=1) |
| 1150 | with self.assertWarns(DeprecationWarning): |
| 1151 | self.reduce(lambda x, y: x + y, sequence=[1, 2, 3, 4, 5], initial=1) |
| 1152 | |
| 1153 | |
| 1154 | class TestCmpToKey: |
nothing calls this directly
no test coverage detected