Files
gtav-src/tools_ng/bin/python/App/Lib/test/test_doctest.txt
T
2025-09-29 00:52:08 +02:00

18 lines
313 B
Plaintext
Executable File

This is a sample doctest in a text file.
In this example, we'll rely on a global variable being set for us
already:
>>> favorite_color
'blue'
We can make this fail by disabling the blank-line feature.
>>> if 1:
... print 'a'
... print
... print 'b'
a
<BLANKLINE>
b