python3-zc.customdoctests

Use doctest with other languages (Python 3)
  https://github.com/zopefoundation/zc.customdoctests
  0
  no reviews



Doctest (and recently manuel) provide hooks for using custom doctest parsers. zc.customdoctests helps to leverage this to support other languages, such as JavaScript (with python-spidermonkey):

js> function double (x) { ... return x*2; ... } js> double(2) 4

And with it facilitates doctests that mix multiple languages, such as Python, JavaScript, and sh.