Overview
doctest-ignore-unicode is a plugin (currently only for Nose) that adds a flag to ignore unicode literal prefixes in doctests.
The implmentation is inspired by https://github.com/nltk/nltk/blob/2and3/nltk/test/doctest_nose_plugin.py
Usage
>>> def hello_world(): ... return 'Hello World' >>> hello_world() # doctest: +IGNORE_UNICODE u'Hello World'
FAQ
Why?
If you need to ask you probably don’t need it. (Hint: supporting python 2 & 3 in the same codebase).
Metadata
Release files for doctest-ignore-unicode 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| doctest-ignore-unicode-0.1.2.tar.gz | 2.3 kB | Without provenance | Details for doctest-ignore-unicode-0.1.2.tar.gz |
Release files / doctest-ignore-unicode-0.1.2.tar.gz
| Download URL | doctest-ignore-unicode-0.1.2.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fc90b2d0846477285c6b67fc4cb4d6f39fcf76d8752f4df0a241486f31512ad5
|
|
BLAKE2b-256 checksum How to use checksums |
9ab5bd095f63ad96bef0ee0d8a561a23033bcf522060f149b8c12781e12cc38a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for doctest-ignore-unicode 0.1.2
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.