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:
parent
7327145bf3
commit
8e7b756727
@ -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')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user