doctest --- 対話型の Python の例をテストする
ソースコード: Lib/doctest.py The doctest module searches for pieces of text that look like interactive Python sessions, and then executes those sessions to verify that they work exactly as shown. There a...