Added a tiny utility function unwrap() to unwrap wrapped text for matching expected strings in tests.
- Legacy-Id: 15396
This commit is contained in:
parent
db2c326e73
commit
e53318084d
|
@ -182,3 +182,7 @@ def texescape(s):
|
|||
texescape_init()
|
||||
t = s.translate(tex_escape_map)
|
||||
return t
|
||||
|
||||
def unwrap(s):
|
||||
return s.replace('\n', ' ')
|
||||
|
||||
|
|
Loading…
Reference in a new issue