Example (for tutorial-developers)

Some text.

a = np.random.randint(3, 6)
print(a)

Some text. Doctest will assert that the output from previous testcode is equal to testoutput below:

4

Show code by using literalinclude. This code is tested by pytest and needs to be complete (no autoimports or testsetup):

"""
Example script used for documenting doctesting and other stuff
"""

a = 5
print(a)