collection 교체

This commit is contained in:
정훈 변
2024-02-23 16:37:40 +09:00
parent b494779b5b
commit 3fd554eee9
38862 changed files with 220204 additions and 6600073 deletions

View File

@@ -18,6 +18,7 @@
# Make coding more python3-ish
from __future__ import absolute_import, division, print_function
__metaclass__ = type
"""
@@ -26,14 +27,15 @@ Compat module for Python2.7's unittest module
import sys
# Allow wildcard import because we really do want to import all of
# unittests's symbols into this compat shim
# pylint: disable=wildcard-import,unused-wildcard-import
if sys.version_info < (2, 7):
try:
# Need unittest2 on python2.6
from unittest2 import *
from unittest2 import * # noqa F403
except ImportError:
print("You need unittest2 installed on python2.6.x to run tests")
else:
from unittest import *
from unittest import * # noqa F403