New issue 710: Add support for unicode literals to
https://bitbucket.org/pytest-dev/pytest/issue/710/add-support-for-unicode-literals-to

Jason R. Coombs:

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](https://github.com/nltk/nltk/blob/develop/nltk/test/doctest_nose_plugin.py)
 to better support the disparity.

I'd like to see pytest support this functionality as well.


_______________________________________________
pytest-commit mailing list
pytest-commit@python.org
https://mail.python.org/mailman/listinfo/pytest-commit

Reply via email to