MCPcopy Index your code
hub / github.com/googleapis/google-api-python-client / py

Function py

samples/compute/noxfile.py:243–250  ·  view source on GitHub ↗

Runs py.test for a sample using the specified version of Python.

(session: nox.sessions.Session)

Source from the content-addressed store, hash-verified

241
242@nox.session(python=ALL_VERSIONS)
243def py(session: nox.sessions.Session) -> None:
244 """Runs py.test for a sample using the specified version of Python."""
245 if session.python in TESTED_VERSIONS:
246 _session_tests(session)
247 else:
248 session.skip(
249 "SKIPPED: {} tests are disabled for this sample.".format(session.python)
250 )
251
252
253#

Callers

nothing calls this directly

Calls 1

_session_testsFunction · 0.85

Tested by

no test coverage detected