diff options
| author | Scott <[email protected]> | 2022-01-12 09:06:29 -0800 |
|---|---|---|
| committer | Scott <[email protected]> | 2022-01-12 09:06:29 -0800 |
| commit | 55a3172e37855f388b9ba0dfc91641a6c9ad1376 (patch) | |
| tree | 01285a4abb59103ec437375d1133f9d00caa1497 /unittest_utils.py | |
| parent | ffc4022c1ea2c2a5892150ff55e6c9a9ddbb8756 (diff) | |
Scale back warnings.warn and add stacklevels= where appropriate.
Diffstat (limited to 'unittest_utils.py')
| -rw-r--r-- | unittest_utils.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/unittest_utils.py b/unittest_utils.py index 270e20d..8c9a120 100644 --- a/unittest_utils.py +++ b/unittest_utils.py @@ -18,7 +18,6 @@ import time import tempfile from typing import Callable import unittest -import warnings import bootstrap import config @@ -81,7 +80,6 @@ def check_method_for_perf_regressions(func: Callable) -> Callable: logger.exception(e) msg = f'Unable to load perfdb from {_db}' logger.warning(msg) - warnings.warn(msg) perfdb = {} # This is a unique identifier for a test: filepath!function |
