Changeset b217c71 in sasmodels for sasmodels/rst2html.py


Ignore:
Timestamp:
Sep 11, 2016 11:37:48 PM (8 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
2e49f9e
Parents:
6592f56
Message:

python 3 support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/rst2html.py

    r6592f56 rb217c71  
    141141    assert replace_dollar(u"and $mid$ too") == u"and :math:`mid` too" 
    142142    assert replace_dollar(u"$first$, $mid$, $last$") == u":math:`first`, :math:`mid`, :math:`last`" 
    143     assert replace_dollar(ur"dollar\$ escape") == u"dollar$ escape" 
    144     assert replace_dollar(ur"dollar \$escape\$ too") == u"dollar $escape$ too" 
     143    assert replace_dollar(u"dollar\\$ escape") == u"dollar$ escape" 
     144    assert replace_dollar(u"dollar \\$escape\\$ too") == u"dollar $escape$ too" 
    145145    assert replace_dollar(u"spaces $in the$ math") == u"spaces :math:`in the` math" 
    146     assert replace_dollar(ur"emb\ $ed$\ ed") == ur"emb\ :math:`ed`\ ed" 
     146    assert replace_dollar(u"emb\\ $ed$\\ ed") == u"emb\\ :math:`ed`\\ ed" 
    147147    assert replace_dollar(u"$first$a") == u"$first$a" 
    148148    assert replace_dollar(u"a$last$") == u"a$last$" 
Note: See TracChangeset for help on using the changeset viewer.