Skip to content
Sections
>> Trisquel >> Пакеты >> etiona >> python >> python-zc.customdoctests
etiona  ]
[ Источник: python-zc.customdoctests  ]

Пакет: python-zc.customdoctests (1.0.1-1)

Use Python doctest with other languages

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 python-manuel, it facilitates doctests that mix multiple languages, such as Python, JavaScript, and sh.

Другие пакеты, относящиеся к python-zc.customdoctests

  • зависимости
  • рекомендации
  • предложения
  • dep: python
    interactive high-level object-oriented language (default version)
  • dep: python-pkg-resources
    Package Discovery and Resource Access using pkg_resources
  • rec: python-manuel
    Python library for testable documents and documented tests
  • rec: python-spidermonkey
    Пакет недоступен

Загрузка python-zc.customdoctests

Загрузить для всех доступных архитектур
Архитектура Размер пакета В установленном виде Файлы
all 8,0 Кб48 Кб [список файлов]