evhub / evhub/coconut

Coconut doesn't convert doctest docstrings

Open
#321 2 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
Python
Stars
4.4k
Forks
142
PR merge metrics
No merged PRs in 30d

Description

This broke my tests, when I attempted to use the `print <| round(...)` syntax into the docstrings.

Or, as an alternative solution, run doctest's docstrings somehow through the coconut interpreter instead of the Python interpreter (monkey-patch the doctest internals somehow or replace it by _coconut_doctest?)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.