From patchwork Sun May 25 11:48:36 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [1, of, 2] run-tests: fix invalid reference to stringescape after a36cc85a5b7b From: Mads Kiilerich X-Patchwork-Id: 4860 Message-Id: To: mercurial-devel@selenic.com Date: Sun, 25 May 2014 13:48:36 +0200 # HG changeset patch # User Mads Kiilerich # 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 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