File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -156,11 +156,6 @@ def handle_test_env() -> None:
156156 # Start compiling the args we'll pass to uv.
157157 UV_ARGS = ["--extra test --no-group dev" ]
158158
159- # TODO: remove as part of PYTHON-5561
160- if test_name in ["encryption" , "oscp" ]:
161- if sys .implementation .name .lower () == "pypy" and sys .version_info < (3 , 11 ):
162- UV_ARGS .append ("--with 'cryptography<46'" )
163-
164159 test_title = test_name
165160 if sub_test_name :
166161 test_title += f" { sub_test_name } "
@@ -469,6 +464,11 @@ def handle_test_env() -> None:
469464 TEST_ARGS = f"{ TEST_ARGS } --cov"
470465 write_env ("COVERAGE" )
471466
467+ # TODO: remove as part of PYTHON-5561
468+ if test_name in ["encryption" , "oscp" ]:
469+ if sys .implementation .name .lower () == "pypy" and sys .version_info < (3 , 11 ):
470+ UV_ARGS .append ("--with cryptography<46" )
471+
472472 if opts .green_framework :
473473 framework = opts .green_framework or os .environ ["GREEN_FRAMEWORK" ]
474474 UV_ARGS .append (f"--group { framework } " )
You can’t perform that action at this time.
0 commit comments