diff --git a/doc/en/doctest.txt b/doc/en/doctest.txt index 63fb32dc8..c27247ceb 100644 --- a/doc/en/doctest.txt +++ b/doc/en/doctest.txt @@ -50,3 +50,9 @@ then you can just invoke ``py.test`` without command line options:: mymodule.py . ========================= 1 passed in 0.02 seconds ========================= + +It is possible to use fixtures using the ``get_fixture`` helper:: + + # content of example.rst + >>> tmp = get_fixture('tmpdir') + >>> ... diff --git a/doc/ja/doctest.txt b/doc/ja/doctest.txt index 2765d7e7a..a1064a398 100644 --- a/doc/ja/doctest.txt +++ b/doc/ja/doctest.txt @@ -72,3 +72,12 @@ Python モジュール (通常 python テストモジュールを含む) の doc mymodule.py . ========================= 1 passed in 0.02 seconds ========================= + +.. + It is possible to use fixtures using the ``get_fixture`` helper:: + +それは ``get_fixture`` ヘルパーを使ってフィクスチャを使用することが可能である:: + + # content of example.rst + >>> tmp = get_fixture('tmpdir') + >>> ...