Comments (4)
Released in https://pypi.org/project/sybil/5.0.0/
from sybil.
If I add an extra newline, everything works as expected.
def f():
"""Do something.
Example:
>>> x = 3
>>> x
3
"""
pass
from sybil.
Seems like there's no issue with pure doctest
❯ python -m doctest module.py
from sybil.
This is a surprisingly difficult issue to fix, but I am looking into it!
from sybil.
Related Issues (20)
- ModuleNotFoundError if pytest is not installed HOT 5
- Support GitHub Flavored Markdown (GFM)
- Request: Add test which fails if `self.evaluator = None` is removed HOT 2
- Parse and export directive options, too HOT 18
- `skip: next` now seems to require an empty line after it HOT 2
- Pytest 8 error: FixtureManager.getfixtureclosure() missing 1 required positional argument: 'ignore_args' HOT 14
- Support for `testcode` and `testoutput` in `DocTestDirectiveParser`s HOT 6
- MyST lexer can't handle code fences with additional backticks HOT 5
- sdist is missing some files needed for testing HOT 3
- Regression: Fails handling triple backquotes with lang tag HOT 13
- pytest: `IndexError: list index out of range` when filtering traceback at `tb_entry = tb[1]` HOT 5
- Escapes inside docstring cause Sybil to fail HOT 3
- Discussion: Using multiple evaluators on the same region HOT 28
- Colored output in Python 3.13 causes Sybil to fail HOT 4
- Add support for the `code` MyST directive HOT 1
- Add support for the `.. code::` reStructuredText directive HOT 1
- TypeError related to FixtureManager.getfixtureclosure() on v7.0.0 HOT 5
- Docstring collection failure with ellipsis HOT 2
- Add a maximum version to pytest dependency for the pytest extra HOT 3
- AttributeError on bad skip comment HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sybil.