diff options
| author | Scott Gasch <[email protected]> | 2021-07-16 21:43:44 -0700 |
|---|---|---|
| committer | Scott Gasch <[email protected]> | 2021-07-16 21:43:44 -0700 |
| commit | 1574e8a3a8982fab9278ad534f9427d464e4bffb (patch) | |
| tree | ec6e6428ce43f2af64598f2023de3f7d784c5fe3 /unittest_utils.py | |
| parent | 0e451d3b3bf899b3d9ac0c38e3c3cd9d9be170ba (diff) | |
Various
Diffstat (limited to 'unittest_utils.py')
| -rw-r--r-- | unittest_utils.py | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/unittest_utils.py b/unittest_utils.py index 99ac81d..e7090bc 100644 --- a/unittest_utils.py +++ b/unittest_utils.py @@ -8,12 +8,15 @@ etc... this works fine but it's a little hacky so caveat emptor. import functools import inspect +import io import logging import pickle import random import statistics +import sys import time -from typing import Callable +import tempfile +from typing import Callable, Iterable import unittest import bootstrap @@ -142,3 +145,10 @@ def check_all_methods_for_perf_regressions(prefix='test_'): logger.debug(f'Wrapping {cls.__name__}:{name}.') return cls return decorate_the_testcase + + +def breakpoint(): + import pdb + pdb.set_trace() + + |
