Changeset b217c71 in sasmodels


Ignore:
Timestamp:
Sep 12, 2016 1:37:48 AM (2 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, F1F2models_grethe, beta_approx, costrafo411, cuda-test, decoupling_approach, py3, release_v0.94, release_v0.95, ticket-1015-gpu-mem-error, ticket-1015-quick-fix, ticket-1157, ticket-608-user-defined-weights, ticket_1156
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.