doctest (and recently manuel) provide hooks for using custom doctest parsers.
zc.customdoctests
helps to leverage this to support other languages, such as JavaScript::js> function double (x) { ... return x*2; ... } js> double(2) 4
And with
manuel <http://pypi.python.org/pypi/manuel>
_, it facilitates doctests that mix multiple languages, such as Python, JavaScript, and sh.
Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
---|---|---|---|---|---|
1.0.1-bp156.3.2 info | GA Release | 2023-07-24 | 15 SP6 |
|
|
1.0.1-bp155.2.10 info | GA Release | 2023-05-22 | 15 SP5 |
|
|
1.0.1-bp154.1.25 info | GA Release | 2022-05-09 | 15 SP4 |
|
|
1.0.1-bp153.1.20 info | GA Release | 2021-03-06 | 15 SP3 |
|
|
1.0.1-bp152.1.11 info | GA Release | 2020-04-17 | 15 SP2 |
|
|