1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
test-trim_doctest_flags
=======================
.. code-block:: pycon
>>> datetime.date.now() # doctest: +FOO
datetime.date(2008, 1, 1)
.. code-block:: none
>>> datetime.date.now() # doctest: +BAR
datetime.date(2008, 1, 1)
.. code-block:: guess
# vim: set filetype=pycon
>>> datetime.date.now() # doctest: +BAZ
datetime.date(2008, 1, 1)
.. testcode::
>>> datetime.date.now() # doctest: +QUX
datetime.date(2008, 1, 1)
.. doctest::
>>> datetime.date.now() # doctest: +QUUX
datetime.date(2008, 1, 1)
.. doctest::
:trim-doctest-flags:
>>> datetime.date.now() # doctest: +CORGE
datetime.date(2008, 1, 1)
.. doctest::
:no-trim-doctest-flags:
>>> datetime.date.now() # doctest: +GRAULT
datetime.date(2008, 1, 1)
|