Setup additional values for ELLIPSIS_MARKER for doctests
This Pytest plugin was generated with Cookiecutter along with @hackebrot’s Cookiecutter-pytest-plugin template.
Features
Doctest has problems with matching default ELLIPSIS_MARKER at the begging of line and interprets them as line continuation characters and not as ellipsis for the output. The easy way was to use # doctest: +SKIP:
>>> u'Tanie dranie niesłychanie' # doctest: +SKIP ...
Without SKIP it would not work. But then the statement is not tested :(
This plugin cant extend ELLIPSIS_MARKER mathing a little without actually changing the default ELLIPSIS_MARKER value:
>>> u'Adios pomidory' '...'
Installation
You can install “pytest-doctest-ellipsis-markers” via pip from PyPI:
$ pip install pytest-doctest-ellipsis-markers
Usage
By default the markers below will be treated as ELLIPSIS_MARKER, to change them add doctest_ellipsis_markers to your ini style configuration.
[pytest]
doctest_ellipsis_markers = [...] '...' "..."
Contributing
Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.
License
Distributed under the terms of the MIT license, “pytest-doctest-ellipsis-markers” is free and open source software
Issues
If you encounter any problems, please file an issue along with a detailed description.
Metadata
Release files for pytest-doctest-ellipsis-markers 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pytest_doctest_ellipsis_markers-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for pytest_doctest_ellipsis_markers-0.1.0-py3-none-any.whl |
| pytest_doctest_ellipsis_markers-0.1.0-py2-none-any.whl | Python 2 | none | any | Details for pytest_doctest_ellipsis_markers-0.1.0-py2-none-any.whl |
Total release size: 12.0 kB
Release files / pytest_doctest_ellipsis_markers-0.1.0-py3-none-any.whl
| Download URL | pytest_doctest_ellipsis_markers-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8efe1457607dd93570b20b744599ab1290bd6dac59be1784e48e806636daa8e2
|
|
BLAKE2b-256 checksum How to use checksums |
72715dc6be38df2f4fe67d6b0889190c7bbac75115b89268f5007dab87ba5065
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pytest_doctest_ellipsis_markers-0.1.0-py2-none-any.whl
| Download URL | pytest_doctest_ellipsis_markers-0.1.0-py2-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
9a7466b23f2a8a740a9ce84b1f214f64ee635362920c4d5fcc97753cfe100e0a
|
|
BLAKE2b-256 checksum How to use checksums |
741e7d774892842e77bc1d5ac52e9fbd54fe749446be8b0055cd3c20e8ff4dec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pytest-doctest-ellipsis-markers 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.