Metadata-Version: 2.1
Name: doctest-ignore-unicode
Version: 0.1.2
Summary: Add flag to ignore unicode literal prefixes in doctests
Home-page: http://github.com/gnublade/doctest-ignore-unicode
Author: Andy Kilner
Author-email: gnublde@gmail.com
License: Apache License, Version 2.0
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Topic :: Software Development :: Testing

Overview
========

doctest-ignore-unicode is a plugin (currently only for `Nose`_) that adds
a flag to ignore unicode literal prefixes in doctests.

.. _Nose: http://somethingaboutorange.com/mrl/projects/nose

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).

