Patchwork [1,of,2] run-tests: fix invalid reference to stringescape after a36cc85a5b7b

login
register
mail settings
Submitter Mads Kiilerich
Date May 25, 2014, 11:48 a.m.
Message ID <c5e55adeb37b9e1bcaec.1401018516@localhost.localdomain>
Download mbox | patch
Permalink /patch/4860/
State Accepted
Headers show

Comments

Mads Kiilerich - May 25, 2014, 11:48 a.m.
# HG changeset patch
# User Mads Kiilerich <madski@unity3d.com>
# Date 1401018439 -7200
#      Sun May 25 13:47:19 2014 +0200
# Node ID c5e55adeb37b9e1bcaec2e9fc3745f47d568e3d1
# Parent  9fb6f328576ac4e38f4e5071c4d669a6ceb3a76e
run-tests: fix invalid reference to stringescape after a36cc85a5b7b

Patch

diff --git a/tests/run-tests.py b/tests/run-tests.py
--- a/tests/run-tests.py
+++ b/tests/run-tests.py
@@ -871,8 +871,8 @@  class TTest(Test):
                     postout.append('  ' + el)
                 else:
                     if self.NEEDESCAPE(lout):
-                        lout = TTest.stringescape('%s (esc)\n' %
-                                                  lout.rstrip('\n'))
+                        lout = TTest._stringescape('%s (esc)\n' %
+                                                   lout.rstrip('\n'))
                     postout.append('  ' + lout) # Let diff deal with it.
                     if r != '': # If line failed.
                         warnonly = 3 # for sure not