-
-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
It is quite often markdown contains interactive Python shell code like:
>>> print("Hello World!")
Hello World!
>>> def add(a, b):
... return a + b
...
>>> add(2,3)
5Currently, I got following exception for these blocks in my README.md.
invalid syntax (<string>, line 1)
Can you add support to test it? I expect the behaviour to be same as pytest --doctest-modules, as if the code block is a function's doc-string.
jamesbraza
Metadata
Metadata
Assignees
Labels
No labels