Skip to content

Commit 8a1f76f

Browse files
committed
change format and provide links
1 parent 91f9c5f commit 8a1f76f

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

pymc/testing.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1048,11 +1048,12 @@ def mock_sample_setup_and_teardown():
10481048
10491049
Effects during the fixture's active period:
10501050
1051-
* Replaces pm.sample with mock_sample, which uses prior predictive sampling
1052-
instead of MCMC
1053-
* Replaces pm.Flat with pm.Normal to avoid issues with unbounded priors
1054-
* Replaces pm.HalfFlat with pm.HalfNormal to avoid issues with semi-bounded priors
1055-
* Automatically restores all original functions after the test completes
1051+
* Replaces :func:`pymc.sample` with :func:`pymc.testing.mock_sample`, which uses
1052+
prior predictive sampling instead of MCMC
1053+
* Replaces distributions:
1054+
* :class:`pymc.Flat` with :class:`pymc.Normal`
1055+
* :class:`pymc.HalfFlat` with :class:`pymc.HalfNormal`
1056+
* Automatically restores all original functions and distributions after the test completes
10561057
10571058
Examples
10581059
--------

0 commit comments

Comments
 (0)