]> git.lyx.org Git - lyx.git/commit
Fix Python SyntaxWarning
authorScott Kostyshak <skostysh@lyx.org>
Thu, 22 Aug 2024 14:51:09 +0000 (10:51 -0400)
committerScott Kostyshak <skostysh@lyx.org>
Thu, 22 Aug 2024 14:54:02 +0000 (10:54 -0400)
commit72f4acf66ca899862a0549d7477ea9c25632a7c0
tree60b2b1759e2341cc3a48ef6f0b6daae4030dd9ac
parenta423c1d7efb7bc936bf2d8feb02b7c386f88f9f0
Fix Python SyntaxWarning

Use raw strings to avoid the following syntax warnings that show up
in LastTest.log after running tex2lyx ctests:

  src/tex2lyx/test/runtests.py:135: SyntaxWarning: invalid escape sequence '\o'
    if linex[:-1] == '\origin ' + inputdir + '/':
  src/tex2lyx/test/runtests.py:136: SyntaxWarning: invalid escape sequence '\o'
    lines1[i1] = '\origin ' + outputdir + '/' + "\n"
src/tex2lyx/test/runtests.py