File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -11,16 +11,18 @@ can change the pattern by issuing::
1111on the command line. Since version ``2.9 ``, ``--doctest-glob ``
1212can be given multiple times in the command-line.
1313
14- You can specify the encoding that will be used for those doctest files
15- using the ``doctest_encoding `` ini option:
14+ .. versionadded :: 3.1
1615
17- .. code-block :: ini
16+ You can specify the encoding that will be used for those doctest files
17+ using the ``doctest_encoding `` ini option:
1818
19- # content of pytest.ini
20- [pytest]
21- doctest_encoding = latin1
19+ .. code-block :: ini
20+
21+ # content of pytest.ini
22+ [pytest]
23+ doctest_encoding = latin1
2224
23- The default encoding is UTF-8.
25+ The default encoding is UTF-8.
2426
2527You can also trigger running of doctests
2628from docstrings in all python modules (including regular
You can’t perform that action at this time.
0 commit comments