Skip to content

Commit 4998df7

Browse files
author
WN
committed
ruff
1 parent 49dd0fa commit 4998df7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/test_ssl.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -519,15 +519,14 @@ def test_set_cipher_list(self, context, cipher_string):
519519

520520
assert "AES128-SHA" in conn.get_cipher_list()
521521

522-
523522
def test_set_cipher_wrong_type(self, context):
524523
"""
525524
`Context.set_cipher_list` raises `TypeError` when
526525
passed a non-string argument.
527526
"""
528527
with pytest.raises(TypeError):
529528
context.set_cipher_list(object())
530-
529+
531530
def test_set_ciphersuites_wrong_type(self, context):
532531
"""
533532
`Context.set_ciphersuites` raises `TypeError` when
@@ -536,7 +535,6 @@ def test_set_ciphersuites_wrong_type(self, context):
536535
with pytest.raises(TypeError):
537536
context.set_ciphersuites(object())
538537

539-
540538
@pytest.mark.flaky(reruns=2)
541539
def test_set_cipher_list_no_cipher_match(self, context):
542540
"""

0 commit comments

Comments
 (0)