1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15- load (":interpreter_tests.bzl" , "py_reconfig_interpreter_tests " , "PYTHON_VERSIONS_TO_TEST " )
15+ load (":interpreter_tests.bzl" , "PYTHON_VERSIONS_TO_TEST " , "py_reconfig_interpreter_tests " )
1616
1717py_reconfig_interpreter_tests (
1818 name = "interpreter_version_test" ,
19- python_versions = PYTHON_VERSIONS_TO_TEST ,
20- # Both the interpreter and the test itself are expected to run under
21- # the same version.
22- expected_interpreter_version = None ,
2319 srcs = ["interpreter_test.py" ],
2420 data = [
2521 "//python/bin:python" ,
2622 ],
2723 env = {
2824 "PYTHON_BIN" : "$(rootpath //python/bin:python)" ,
2925 },
26+ # Both the interpreter and the test itself are expected to run under
27+ # the same version.
28+ expected_interpreter_version = None ,
3029 main = "interpreter_test.py" ,
30+ python_versions = PYTHON_VERSIONS_TO_TEST ,
3131)
3232
3333py_reconfig_interpreter_tests (
@@ -39,11 +39,11 @@ py_reconfig_interpreter_tests(
3939 env = {
4040 "PYTHON_BIN" : "$(rootpath //python/bin:python)" ,
4141 },
42- python_versions = PYTHON_VERSIONS_TO_TEST ,
4342 # Since we're grabbing the interpreter from a binary with a fixed
4443 # version, we expect to always see that version. It doesn't matter what
4544 # Python version the test itself is running with.
4645 expected_interpreter_version = "3.11" ,
4746 main = "interpreter_test.py" ,
4847 python_src = "//tools/publish:twine" ,
48+ python_versions = PYTHON_VERSIONS_TO_TEST ,
4949)
0 commit comments