23 lines · python
1# DExTer : Debugging Experience Tester2# ~~~~~~ ~ ~~ ~ ~~3#4# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.5# See https://llvm.org/LICENSE.txt for license information.6# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception7"""Generic non-dexter-specific utility classes and functions."""8 9import os10 11from dex.utils.Environment import is_native_windows, has_pywin3212from dex.utils.PrettyOutputBase import PreserveAutoColors13from dex.utils.RootDirectory import get_root_directory14from dex.utils.Timer import Timer15from dex.utils.WorkingDirectory import WorkingDirectory16 17if is_native_windows():18 from dex.utils.windows.PrettyOutput import PrettyOutput19else:20 from dex.utils.posix.PrettyOutput import PrettyOutput21 22from dex.utils.Logging import Logger23