X-Git-Url: https://wannabe.guru.org/gitweb/?a=blobdiff_plain;f=src%2Fpyutils%2Funittest_utils.py;h=adef4e39307b7b58fd96d1347e04e91273ad96a3;hb=HEAD;hp=b073e49e43b686a643d806e8931a5353b91adb67;hpb=77513ea630d72318684cf1d0a9198a22f4b547a7;p=pyutils.git diff --git a/src/pyutils/unittest_utils.py b/src/pyutils/unittest_utils.py index b073e49..adef4e3 100644 --- a/src/pyutils/unittest_utils.py +++ b/src/pyutils/unittest_utils.py @@ -270,7 +270,7 @@ Here is the current, full db perf timing distribution: return wrapper_perf_monitor -def check_all_methods_for_perf_regressions(prefix="test_"): +def check_all_methods_for_perf_regressions(prefix: str = "test_"): """This decorator is meant to apply to classes that subclass from :class:`unittest.TestCase` and, when applied, has the affect of decorating each method that matches the `prefix` given with the