• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2024 The Bazel Authors. All rights reserved.
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#    http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14load("//tests/support:sh_py_run_test.bzl", "py_reconfig_test")
15load("//tests/support:support.bzl", "SUPPORTS_BOOTSTRAP_SCRIPT")
16
17py_reconfig_test(
18    name = "no_unsafe_paths_3.10_test",
19    srcs = ["test.py"],
20    bootstrap_impl = "script",
21    main = "test.py",
22    python_version = "3.10",
23    target_compatible_with = SUPPORTS_BOOTSTRAP_SCRIPT,
24)
25
26py_reconfig_test(
27    name = "no_unsafe_paths_3.11_test",
28    srcs = ["test.py"],
29    bootstrap_impl = "script",
30    main = "test.py",
31    python_version = "3.11",
32    target_compatible_with = SUPPORTS_BOOTSTRAP_SCRIPT,
33)
34