mirror of
https://github.com/saymrwulf/cryptography.git
synced 2026-05-14 20:37:55 +00:00
Debian sid is python3.6 now (#3968)
* Debian sid is python3.6 now * Workaround because apparently measuring coverage correctly isn't a legitimate use case
This commit is contained in:
parent
4cf6e785ca
commit
a87daea52b
2 changed files with 4 additions and 1 deletions
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
|
@ -51,7 +51,7 @@ def configs = [
|
|||
[
|
||||
label: 'docker',
|
||||
imageName: 'pyca/cryptography-runner-sid',
|
||||
toxenvs: ['py27', 'py35'],
|
||||
toxenvs: ['py27', 'py36'],
|
||||
],
|
||||
[
|
||||
label: 'docker',
|
||||
|
|
|
|||
|
|
@ -248,6 +248,9 @@ def load_pkcs1_vectors(vector_data):
|
|||
attr = None
|
||||
|
||||
if private_key_vector is None or public_key_vector is None:
|
||||
# Random garbage to defeat CPython's peephole optimizer so that
|
||||
# coverage records correctly: https://bugs.python.org/issue2506
|
||||
1 + 1
|
||||
continue
|
||||
|
||||
if line.startswith("# Private key"):
|
||||
|
|
|
|||
Loading…
Reference in a new issue