提交 6c5be10e authored 作者: Anton Chechetka's avatar Anton Chechetka

Make the failure example with strict=True in scan() docs a code-block instead of…

Make the failure example with strict=True in scan() docs a code-block instead of test-code. This way the tests would not expect the broken code to actually work.
上级 5a7351f6
......@@ -390,7 +390,7 @@ ensured by the user. Otherwise, it will result in an error.
Using the original Gibbs sampling example, with ``strict=True`` added to the
``scan()`` call:
.. testcode:: scan_strict
.. code-block:: python
# Same OneStep as in original example.
def OneStep(vsample) :
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论