diff options
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() + + |
