1
0
mirror of https://github.com/scrapy/scrapy.git synced 2025-03-14 02:39:27 +00:00

Solve Flake8-reported issues

This commit is contained in:
Adrián Chaves 2020-11-04 21:26:55 +01:00
parent 7327145bf3
commit 8e7b756727

View File

@ -1,6 +1,5 @@
import json
import os
import platform
import re
import sys
from subprocess import Popen, PIPE
@ -59,7 +58,7 @@ class ProxyConnectTestCase(TestCase):
def setUp(self):
try:
import mitmproxy
import mitmproxy # noqa: F401
except ImportError:
self.skipTest('mitmproxy is not installed')