File tree Expand file tree Collapse file tree 2 files changed +7
-18
lines changed Expand file tree Collapse file tree 2 files changed +7
-18
lines changed Original file line number Diff line number Diff line change 26
26
env : TOXENV=py37
27
27
- python : " 3.8"
28
28
env : TOXENV=py38
29
- - python : " pypy2.7-5.10.0 "
29
+ - python : " pypy2.7-7.3.1 "
30
30
env : TOXENV=pypy
31
- - python : " pypy3.5-5.10 .1"
31
+ - python : " pypy3.6-7.3 .1"
32
32
env : TOXENV=pypy3
33
33
34
34
# Also run the tests against cryptography master.
42
42
env : TOXENV=py37-cryptographyMaster
43
43
- python : " 3.8"
44
44
env : TOXENV=py38-cryptographyMaster
45
- - python : " pypy2.7-5.10.0 "
45
+ - python : " pypy2.7-7.3.1 "
46
46
env : TOXENV=pypy-cryptographyMaster
47
- - python : " pypy3.5-5.10 .1"
47
+ - python : " pypy3.6-7.3 .1"
48
48
env : TOXENV=pypy3-cryptographyMaster
49
49
50
50
# And current minimum cryptography version.
58
58
env : TOXENV=py37-cryptographyMinimum
59
59
- python : " 3.8"
60
60
env : TOXENV=py38-cryptographyMinimum
61
- - python : " pypy2.7-5.10.0 "
61
+ - python : " pypy2.7-7.3.1 "
62
62
env : TOXENV=pypy-cryptographyMinimum
63
- - python : " pypy3.5-5.10 .1"
63
+ - python : " pypy3.6-7.3 .1"
64
64
env : TOXENV=pypy3-cryptographyMinimum
65
65
66
66
# Run tests in random order
Original file line number Diff line number Diff line change @@ -155,15 +155,4 @@ def text_to_bytes_and_warn(label, obj):
155
155
return obj
156
156
157
157
158
- try :
159
- # newer versions of cffi free the buffer deterministically
160
- with ffi .from_buffer (b"" ):
161
- pass
162
- from_buffer = ffi .from_buffer
163
- except AttributeError :
164
- # cffi < 0.12 frees the buffer with refcounting gc
165
- from contextlib import contextmanager
166
-
167
- @contextmanager
168
- def from_buffer (* args ):
169
- yield ffi .from_buffer (* args )
158
+ from_buffer = ffi .from_buffer
You can’t perform that action at this time.
0 commit comments