Skip to content

Commit

Permalink
Update tests/test_webclient.py
Browse files Browse the repository at this point in the history
Co-authored-by: Eugenio Lacuesta <1731933+elacuesta@users.noreply.github.com>
  • Loading branch information
Gallaecio and elacuesta committed Mar 17, 2021
1 parent 6f29d49 commit 54068c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_webclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ def testPayload(self):

def testPayloadDisabledCipher(self):
if sys.implementation.name == "pypy" and parse_version(cryptography.__version__) <= parse_version("2.3.1"):
self.skipTest("This does not work in PyPy with cryptography<=2.3.1")
self.skipTest("This test expects a failure, but the code does work in PyPy with cryptography<=2.3.1")
s = "0123456789" * 10
settings = Settings({'DOWNLOADER_CLIENT_TLS_CIPHERS': 'ECDHE-RSA-AES256-GCM-SHA384'})
client_context_factory = create_instance(ScrapyClientContextFactory, settings=settings, crawler=None)
Expand Down

0 comments on commit 54068c5

Please sign in to comment.