aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorThomas Kriechbaumer <thomas@kriechbaumer.name>2017-02-15 00:34:23 +0100
committerThomas Kriechbaumer <thomas@kriechbaumer.name>2017-02-15 00:54:14 +0100
commit8a6f8bd461af46d5006a6e3756277af416162262 (patch)
treef54400e7bbb01e52f8f85e3f1019690d6a6c6151 /test
parentbb2fa6dc7d871d703c6759926521d8c16aae80f1 (diff)
downloadmitmproxy-8a6f8bd461af46d5006a6e3756277af416162262.tar.gz
mitmproxy-8a6f8bd461af46d5006a6e3756277af416162262.tar.bz2
mitmproxy-8a6f8bd461af46d5006a6e3756277af416162262.zip
nuke Pillow
Diffstat (limited to 'test')
-rw-r--r--test/mitmproxy/__init__.py1
-rw-r--r--test/mitmproxy/contentviews/image/test_view.py1
-rw-r--r--test/mitmproxy/proxy/protocol/test_http2.py2
3 files changed, 0 insertions, 4 deletions
diff --git a/test/mitmproxy/__init__.py b/test/mitmproxy/__init__.py
index 28dc133f..6f114e18 100644
--- a/test/mitmproxy/__init__.py
+++ b/test/mitmproxy/__init__.py
@@ -3,5 +3,4 @@ import logging
logging.getLogger("hyper").setLevel(logging.WARNING)
logging.getLogger("requests").setLevel(logging.WARNING)
logging.getLogger("passlib").setLevel(logging.WARNING)
-logging.getLogger("PIL").setLevel(logging.WARNING)
logging.getLogger("tornado").setLevel(logging.WARNING)
diff --git a/test/mitmproxy/contentviews/image/test_view.py b/test/mitmproxy/contentviews/image/test_view.py
index ee2f9eaa..84bcea17 100644
--- a/test/mitmproxy/contentviews/image/test_view.py
+++ b/test/mitmproxy/contentviews/image/test_view.py
@@ -9,7 +9,6 @@ def test_view_image():
"mitmproxy/data/image.png",
"mitmproxy/data/image.gif",
"mitmproxy/data/all.jpeg",
- "mitmproxy/data/image.ico"
]:
with open(tutils.test_data.path(img), "rb") as f:
assert v(f.read())
diff --git a/test/mitmproxy/proxy/protocol/test_http2.py b/test/mitmproxy/proxy/protocol/test_http2.py
index f5d9259d..cede0b80 100644
--- a/test/mitmproxy/proxy/protocol/test_http2.py
+++ b/test/mitmproxy/proxy/protocol/test_http2.py
@@ -23,8 +23,6 @@ logging.getLogger("hyper.packages.hpack.hpack").setLevel(logging.WARNING)
logging.getLogger("requests.packages.urllib3.connectionpool").setLevel(logging.WARNING)
logging.getLogger("passlib.utils.compat").setLevel(logging.WARNING)
logging.getLogger("passlib.registry").setLevel(logging.WARNING)
-logging.getLogger("PIL.Image").setLevel(logging.WARNING)
-logging.getLogger("PIL.PngImagePlugin").setLevel(logging.WARNING)
# inspect the log: