Skip to content

Commit

Permalink
Skip on is_appengine()
Browse files Browse the repository at this point in the history
  • Loading branch information
sethmlarson committed Jan 17, 2019
1 parent 5123e51 commit f8eb680
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/with_dummyserver/test_connectionpool.py
Expand Up @@ -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,
Expand Down Expand Up @@ -778,7 +778,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)
Expand Down

0 comments on commit f8eb680

Please sign in to comment.