Skip to content

Commit d3a8c1c

Browse files
committed
link to the functions in the docstring
1 parent 8a1f76f commit d3a8c1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymc/testing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -986,7 +986,7 @@ def assert_no_rvs(vars: Sequence[Variable]) -> None:
986986

987987

988988
def mock_sample(draws: int = 10, **kwargs):
989-
"""Mock the pm.sample function by returning prior predictive samples as posterior.
989+
"""Mock :func:`pymc.sample` with :func:`pymc.sample_prior_predictive`.
990990
991991
Useful for testing models that use pm.sample without running MCMC sampling.
992992

0 commit comments

Comments
 (0)