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

Commit 86642e6

Browse files
authored
Merge pull request #360 from matjazp/fix-flake
fix new failing flake checks in CI
2 parents 13e2a90 + f1a5fa9 commit 86642e6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

hyper/ssl_compat.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def resolve_alias(alias):
188188
C='countryName',
189189
ST='stateOrProvinceName',
190190
L='localityName',
191-
O='organizationName',
191+
O='organizationName', # noqa: E741
192192
OU='organizationalUnitName',
193193
CN='commonName',
194194
).get(alias, alias)

test/test_SSLContext.py

+1-1
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)