Skip to content
This repository has been archived by the owner on Apr 14, 2022. It is now read-only.

Commit

Permalink
skip TestHTTPWithoutSSL
Browse files Browse the repository at this point in the history
  • Loading branch information
oliland committed May 3, 2018
1 parent 5cfbdb6 commit 5825189
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/with_dummyserver/test_no_ssl.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,17 @@
from dummyserver.testcase import (
HTTPDummyServerTestCase, HTTPSDummyServerTestCase)

import pytest
import urllib3


class TestHTTPWithoutSSL(HTTPDummyServerTestCase, TestWithoutSSL):

@pytest.mark.skip(reason=(
"TestWithoutSSL mutates sys.modules."
"This breaks the backend loading code which imports modules at runtime."
"See discussion at https://github.com/python-trio/urllib3/pull/42"
))
def test_simple(self):
pool = urllib3.HTTPConnectionPool(self.host, self.port)
self.addCleanup(pool.close)
Expand Down

0 comments on commit 5825189

Please sign in to comment.