Skip to main content

DocSix

https://travis-ci.org/nyergler/docsix.png?branch=master

DocSix is a tool which helps you run your doctests under both Python 2 and Python 3 (specifically 3.3 and later).

DocSix works by stripping unicode indicators from expected test output before running the test on Python 3.

To use DocSix, simply pass it the list of files to execute tests on:

>>> import unittest
>>> from docsix import get_doctest_suite
>>> suite = get_doctest_suite(['testdoc.rst'])
>>> unittest.TextTestRunner(verbosity=2).run(suite)
<unittest.runner.TextTestResult run=1 errors=0 failures=0>

News

0.1

Release date: 17-Feb-2014

  • Support for Sphinx testcode block

  • Support for stripping unicode indicators from output strings in doctests.

Metadata

Release files for docsix 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for docsix 0.1
File Size Uploaded Provenance Actions
docsix-0.1.tar.gz 2.6 kB Without provenance Details for docsix-0.1.tar.gz

Release files / docsix-0.1.tar.gz

Download URL docsix-0.1.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
f0c5b7e4c6fc5b33f37ab3c168fcd3207b766fefc01f7065d4a12f38774c8dcb
BLAKE2b-256 checksum
How to use checksums
41b56c72e285c8ea2d0a7f7b56693dee25dec93aa9fb2e1ff55a285c32c60312
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for docsix 0.1

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.

Release history Release notifications | RSS feed

This release

0.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page