From 3e18f38b6c7238be0faea595d73e8e3137fa5863 Mon Sep 17 00:00:00 2001 From: Seth Michael Larson Date: Thu, 17 Jan 2019 14:31:46 +0000 Subject: [PATCH] Skip on is_appengine() --- test/with_dummyserver/test_connectionpool.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/with_dummyserver/test_connectionpool.py b/test/with_dummyserver/test_connectionpool.py index 1493728f25..6ba8c450db 100644 --- a/test/with_dummyserver/test_connectionpool.py +++ b/test/with_dummyserver/test_connectionpool.py @@ -17,7 +17,7 @@ encode_multipart_formdata, HTTPConnectionPool, ) -from urllib3.contrib.appengine import AppEngineManager +from urllib3.contrib.appengine import is_appengine from urllib3.exceptions import ( ConnectTimeoutError, EmptyPoolError, @@ -780,7 +780,7 @@ def test_broken_pipe_ignore(self): assert resp.status == 401 def test_broken_pipe_ignore_chunked(self): - if isinstance(self.pool, AppEngineManager): + if is_appengine(): self.skipTest("Google App Engine does not support chunked requests in URLFetch") resp = self.pool.urlopen('POST', '/admin', chunked=True)