Another Python 2 remnant cleanup

This commit is contained in:
Jean-Paul Calderone 2023-01-03 10:34:39 -05:00
parent a58d8a567a
commit 5bad92cfc5
1 changed files with 2 additions and 8 deletions

View File

@ -1,14 +1,8 @@
""" """
Ported to Python 3. Tests for a bunch of web-related APIs.
""" """
from __future__ import print_function from __future__ import annotations
from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals
from future.utils import PY2
if PY2:
from future.builtins import filter, map, zip, ascii, chr, hex, input, next, oct, open, pow, round, super, bytes, dict, list, object, range, str, max, min # noqa: F401
from six import ensure_binary from six import ensure_binary
import os.path, re, time import os.path, re, time