old_contents: 
  def fruit_py_tests(srcs, data=[]):
      for filename in srcs:
          native.py_test(
              name = filename[:-3],
              srcs = [filename],
              imports = ["."],
              deps = [
                  "//third_party/fruit/tests:fruit_test_common",
              ],
              data = data + [
                  "//third_party/fruit:fruit_headers",
                  "//third_party/fruit/tests:libfruit.so",
                  "//third_party/fruit/tests:test_headers_filegroup",
              ],
              args = [
                  "-p",
                  "no:cacheprovider",
                  "-n",
                  "4",
              ],
          )
  
new_contents: 
  def fruit_py_tests(srcs, data=[]):
      for filename in srcs:
          native.py_test(
              name = filename[:-3],
              srcs = [filename],
              imports = ["."],
              timeout = "long",
              deps = [
                  "//third_party/fruit/tests:fruit_test_common",
              ],
              data = data + [
                  "//third_party/fruit:fruit_headers",
                  "//third_party/fruit/tests:libfruit.so",
                  "//third_party/fruit/tests:test_headers_filegroup",
              ],
              args = [
                  "-p",
                  "no:cacheprovider",
                  "-n",
                  "4",
              ],
          )
  
subject: Set timeout=long on pytest tests, otherwise they sometimes time out on Travis CI.