//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 forwardedon as-is unless otherwise specified. Seepy_test for detailed attribute documentation.

This macro affects the following args:

  • python_version: cannot bePY2

  • srcs_version: cannot bePY2 orPY2ONLY

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

Args: