mirror of https://github.com/scrapy/scrapy.git
Only xfail test_https_connect_tunnel_error on 3.6+.
This commit is contained in:
parent
e0c5c72496
commit
3c9963ab04
|
|
@ -92,7 +92,7 @@ class ProxyConnectTestCase(TestCase):
|
|||
yield crawler.crawl(self.mockserver.url("/status?n=200", is_secure=True))
|
||||
self._assert_got_response_code(200, l)
|
||||
|
||||
@pytest.mark.xfail(reason='Python 3 fails this earlier')
|
||||
@pytest.mark.xfail(reason='Python 3.6+ fails this earlier', condition=sys.version_info.minor >= 6)
|
||||
@defer.inlineCallbacks
|
||||
def test_https_connect_tunnel_error(self):
|
||||
crawler = get_crawler(SimpleSpider)
|
||||
|
|
|
|||
Loading…
Reference in New Issue