projects
/
python_utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adds doctests.
[python_utils.git]
/
unittest_utils.py
diff --git
a/unittest_utils.py
b/unittest_utils.py
index bb1a9b432f49d7886b99f39418339e9f62e0cee1..8c9a1202f99d46708b8abfd083fc3f57256fcacc 100644
(file)
--- a/
unittest_utils.py
+++ b/
unittest_utils.py
@@
-78,7
+78,8
@@
def check_method_for_perf_regressions(func: Callable) -> Callable:
perfdb = load_known_test_performance_characteristics()
except Exception as e:
logger.exception(e)
perfdb = load_known_test_performance_characteristics()
except Exception as e:
logger.exception(e)
- logger.warning(f'Unable to load perfdb from {_db}')
+ msg = f'Unable to load perfdb from {_db}'
+ logger.warning(msg)
perfdb = {}
# This is a unique identifier for a test: filepath!function
perfdb = {}
# This is a unique identifier for a test: filepath!function