bpo-36994: add test for profiling method_descriptor with **kwargs by jdemeyer · Pull Request #13461 · python/cpython

Expand Up @@ -334,6 +334,15 @@ def j(p): (1, 'return', j_ident), ])
# bpo-34125: profiling method_descriptor with **kwargs def test_unbound_method(self): kwargs = {} def f(p): dict.get({}, 42, **kwargs) f_ident = ident(f) self.check_events(f, [(1, 'call', f_ident), (1, 'return', f_ident)])
# Test an invalid call (bpo-34126) def test_unbound_method_no_args(self): def f(p): Expand Down