Edgewall Software

Changes between Initial Version and Version 1 of Ticket #611


Ignore:
Timestamp:
Jun 14, 2018, 6:04:36 PM (6 years ago)
Author:
rjollos
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #611 – Description

    initial v1  
    11I'm working on a branch to support a unified codebase for Python 2 and 3 (https://github.com/jaraco/genshi/tree/feature/py3-native). One problem I'm up against is the doctests failing thus:
    22
    3 ```
     3{{{
    44File "/Users/jaraco/Dropbox/code/public/genshi/genshi/util.py", line 207, in genshi.util.stripentities
    55Failed example:
     
    99Got:
    1010    '1 < 2 …'
    11 ```
     11}}}
    1212
    1313Pytest has a solution for this (https://docs.pytest.org/en/latest/doctest.html), a plugin for doctest that allows unicode to match even on Python 2 where the 'u' prefixes text strings.