mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-03-12 04:35:40 -07:00
* Remove Python 2 update modal * Remove Python 2 handling code * Remove backports dependencies * Remove uses of future and __future__ * Fix import * Remove requirements * Update lib folder * Clean up imports and blank lines --------- Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
20 lines
484 B
Python
20 lines
484 B
Python
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 *
|