projects
/
python_utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Scale back warnings.warn and add stacklevels= where appropriate.
[python_utils.git]
/
unittest_utils.py
diff --git
a/unittest_utils.py
b/unittest_utils.py
index 270e20d1e268112f543ac70d4e096745b1861d1c..8c9a1202f99d46708b8abfd083fc3f57256fcacc 100644
(file)
--- a/
unittest_utils.py
+++ b/
unittest_utils.py
@@
-18,7
+18,6
@@
import time
import tempfile
from typing import Callable
import unittest
import tempfile
from typing import Callable
import unittest
-import warnings
import bootstrap
import config
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)
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
perfdb = {}
# This is a unique identifier for a test: filepath!function