//python:py_test.bzl

Public entry point for py_test.

py_test(**attrs)

Creates an executable Python program.

This is the public macro wrapping the underlying rule. Args are forwarded on as-is unless otherwise specified. See py_test for detailed attribute documentation.

This macro affects the following args:

  • python_version: cannot be PY2

  • srcs_version: cannot be PY2 or PY2ONLY

  • tags: May have special marker values added, if not already present.

Args: