Closed
Description
Originally reported by: Jason R. Coombs (BitBucket: jaraco, GitHub: jaraco)
I like to use doctests for some use cases, and pytest makes inclusion of them in tests suites quite elegant.
However, doctests have a particularly hard problem with Python2/3 compatibility (because unicode strings render as u'' in Python 2 and '' in Python 3).
The NLTK project has built a nose plugin to better support the disparity.
I'd like to see pytest support this functionality as well.