Skip to content

Commit e54946b

Browse files
committed
Fix possibly-used-before-assignment @ test_ssl
1 parent 5b8e2f7 commit e54946b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cheroot/test/test_ssl.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -702,6 +702,7 @@ def test_http_over_https_error(
702702
'An existing connection was forcibly closed by the remote host',
703703
)
704704
else:
705+
expected_error_code, expected_error_text = None, None
705706
pytest.skip(f'{SYS_PLATFORM} is unsupported') # pragma: no cover
706707

707708
tls_adapter_cls = get_ssl_adapter_class(name=adapter_type)

0 commit comments

Comments
 (0)