HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //proc/self/root/lib/mysqlsh/lib/python3.8/site-packages/setuptools/_distutils/tests/compat/py38.py
# flake8: noqa

import contextlib
import builtins
import sys

from test.support import requires_zlib
import test.support


ModuleNotFoundError = getattr(builtins, 'ModuleNotFoundError', ImportError)

try:
    from test.support.warnings_helper import check_warnings
except (ModuleNotFoundError, ImportError):
    from test.support import check_warnings


try:
    from test.support.os_helper import (
        rmtree,
        EnvironmentVarGuard,
        unlink,
        skip_unless_symlink,
        temp_dir,
    )
except (ModuleNotFoundError, ImportError):
    from test.support import (
        rmtree,
        EnvironmentVarGuard,
        unlink,
        skip_unless_symlink,
        temp_dir,
    )


try:
    from test.support.import_helper import (
        DirsOnSysPath,
        CleanImport,
    )
except (ModuleNotFoundError, ImportError):
    from test.support import (
        DirsOnSysPath,
        CleanImport,
    )


if sys.version_info < (3, 9):
    requires_zlib = lambda: test.support.requires_zlib