Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Add flag to ignore unicode literal prefixes in doctests

Project Description


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


>>> def hello_world():
...     return 'Hello World'
>>> hello_world()  # doctest: +IGNORE_UNICODE
u'Hello World'



If you need to ask you probably don’t need it. (Hint: supporting python 2 & 3 in the same codebase).

Release History

This version
History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(2.3 kB) Copy SHA256 Hash SHA256
Source None Apr 11, 2013

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers