diff options
-rw-r--r-- | Jenkinsfile | 2 | ||||
-rw-r--r-- | tests/utils.py | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/Jenkinsfile b/Jenkinsfile index 0e4c60ce..60195a68 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -51,7 +51,7 @@ def configs = [ [ label: 'docker', imageName: 'pyca/cryptography-runner-sid', - toxenvs: ['py27', 'py35'], + toxenvs: ['py27', 'py36'], ], [ label: 'docker', diff --git a/tests/utils.py b/tests/utils.py index 2d3cb6df..74b1513d 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -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"): |