1This is a sample doctest in a text file.
2
3In this example, we'll rely on a global variable being set for us
4already:
5
6  >>> favorite_color
7  'blue'
8
9We can make this fail by disabling the blank-line feature.
10
11  >>> if 1:
12  ...    print('a')
13  ...    print()
14  ...    print('b')
15  a
16  <BLANKLINE>
17  b
18