Language-agnostic doctest.