Skip to content
This repository was archived by the owner on Jan 13, 2021. It is now read-only.

Commit 902a227

Browse files
committed
fix new failing flake checks in CI
1 parent 13e2a90 commit 902a227

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

hyper/ssl_compat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def resolve_alias(alias):
191191
O='organizationName',
192192
OU='organizationalUnitName',
193193
CN='commonName',
194-
).get(alias, alias)
194+
).get(alias, alias) # noqa: E741
195195

196196
def to_components(name):
197197
# TODO Verify that these are actually *supposed* to all be

test/test_SSLContext.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def test_missing_certs(self):
6969
succeeded = True
7070
except hyper.common.exceptions.MissingCertFile:
7171
threw_expected_exception = True
72-
except:
72+
except Exception:
7373
pass
7474

7575
assert not succeeded

0 commit comments

Comments
 (0)