aboutsummaryrefslogtreecommitdiff
path: root/.venv/lib/python3.12/site-packages/future/moves/test/support.py
blob: f70c9d7dbe9e9e5b56f5cde6a8b1b16ded540355 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
from __future__ import absolute_import

import sys

from future.standard_library import suspend_hooks
from future.utils import PY3

if PY3:
    from test.support import *
    if sys.version_info[:2] >= (3, 10):
        from test.support.os_helper import (
            EnvironmentVarGuard,
            TESTFN,
        )
        from test.support.warnings_helper import check_warnings
else:
    __future_module__ = True
    with suspend_hooks():
        from test.test_support import *