1
0
mirror of https://github.com/httpie/cli.git synced 2026-06-20 11:32:56 +02:00

Python 2.7 support removal WIP

This commit is contained in:
Jakub Roztocil
2019-08-29 08:53:56 +02:00
parent c297af0012
commit b3d2c1876e
17 changed files with 15 additions and 118 deletions
+1 -1
View File
@@ -1,12 +1,12 @@
import os
import tempfile
import time
from urllib.request import urlopen
import pytest
import mock
from requests.structures import CaseInsensitiveDict
from httpie.compat import urlopen
from httpie.downloads import (
parse_content_range, filename_from_content_disposition, filename_from_url,
get_unique_filename, ContentRangeError, Downloader,
+1 -1
View File
@@ -1,11 +1,11 @@
import os
from tempfile import gettempdir
from urllib.request import urlopen
import pytest
from utils import MockEnvironment, http, HTTP_OK, COLOR, CRLF
from httpie import ExitStatus
from httpie.compat import urlopen
from httpie.output.formatters.colors import get_lexer
-1
View File
@@ -5,7 +5,6 @@ import pytest_httpbin.certs
import requests.exceptions
from httpie import ExitStatus
from httpie.compat import is_pypy
from httpie.input import SSL_VERSION_ARG_MAPPING
from utils import HTTP_OK, TESTS_ROOT, http
-1
View File
@@ -9,7 +9,6 @@ import tempfile
from httpie import ExitStatus, EXIT_STATUS_LABELS
from httpie.context import Environment
from httpie.core import main
from httpie.compat import bytes, str
TESTS_ROOT = os.path.abspath(os.path.dirname(__file__))