Not sure if it's intended or not, but in 6.0 this no longer works:
Let's skips some stuff:
.. skip: next
.. code-block:: python
run.append(1)
Modifying tests/samples/skip.txt in this way gives the following error:
E ValueError: <Region start=70 end=124 evaluator=<sybil.evaluators.skip.Skipper object at 0x7f8515d8d490>><Parsed>('next', None)</Parsed></Region> from line 7, column 1 to line 11, column 1 overlaps <Region start=84 end=124 evaluator=<sybil.evaluators.python.PythonEvaluator object at 0x7f85152ff4d0>>
E directive: 'code-block'
E arguments: 'python'
E source: 'run.append(1)\n'
E options: {}
E <Parsed>'run.append(1)\n'</Parsed></Region> from line 8, column 1 to line 11, column 1
If you leave at least an empty line between directives it still works.
Not sure if it's intended or not, but in 6.0 this no longer works:
Modifying tests/samples/skip.txt in this way gives the following error:
If you leave at least an empty line between directives it still works.