Script to run tests.
[python_utils.git] / bootstrap.py
index 0d37dcbd7215067ad17801e48e8eafab64c63c61..da421b6f0a35dd2c0c269728f71427750e7e6708 100644 (file)
@@ -7,9 +7,10 @@ import sys
 import time
 import traceback
 
+# This module is commonly used by others in here and should avoid
+# taking any unnecessary dependencies back on them.
 import argparse_utils
 import config
-import logging_utils
 
 
 logger = logging.getLogger(__name__)
@@ -41,6 +42,8 @@ def handle_uncaught_exception(
 
 
 def initialize(funct):
+    import logging_utils
+
     """Remember to initialize config and logging before running main."""
     @functools.wraps(funct)
     def initialize_wrapper(*args, **kwargs):