Patchwork run-tests: fix identation

login
register
mail settings
Submitter Simon Heimberg
Date June 11, 2013, 10:08 p.m.
Message ID <9a1c68b01e1cab691a16.1370988484@lapsi.heimberg.home>
Download mbox | patch
Permalink /patch/1719/
State Accepted, archived
Headers show

Comments

Simon Heimberg - June 11, 2013, 10:08 p.m.
# HG changeset patch
# User simon@laptop-tosh
# Date 1370979734 -7200
# Node ID 9a1c68b01e1cab691a168a8dff2802ef25d6bd15
# Parent  f61311ad7e17e30152e7d38bd01c302df082c329
run-tests: fix identation
Matt Mackall - June 12, 2013, 4:06 p.m.
On Tue, 2013-06-11 at 21:32 -0500, Kevin Bullock wrote:
> On 11 Jun 2013, at 5:08 PM, Simon Heimberg wrote:
> 
> > # HG changeset patch
> > # User simon@laptop-tosh
> > # Date 1370979734 -7200
> > # Node ID 9a1c68b01e1cab691a168a8dff2802ef25d6bd15
> > # Parent  f61311ad7e17e30152e7d38bd01c302df082c329
> > run-tests: fix identation
> > 
> > diff -r f61311ad7e17 -r 9a1c68b01e1c tests/run-tests.py
> > --- a/tests/run-tests.py	Die Jun 11 21:23:43 2013 +0200
> > +++ b/tests/run-tests.py	Die Jun 11 21:42:14 2013 +0200
> > @@ -900,7 +900,7 @@
> >     lctest = test.lower()
> > 
> >     if not os.path.exists(testpath):
> > -            return skip("doesn't exist")
> > +        return skip("doesn't exist")
> 
> Do we not run check-code on itself (nor pyflakes on it)?

We run both and both pass.

Patch

diff -r f61311ad7e17 -r 9a1c68b01e1c tests/run-tests.py
--- a/tests/run-tests.py	Die Jun 11 21:23:43 2013 +0200
+++ b/tests/run-tests.py	Die Jun 11 21:42:14 2013 +0200
@@ -900,7 +900,7 @@ 
     lctest = test.lower()
 
     if not os.path.exists(testpath):
-            return skip("doesn't exist")
+        return skip("doesn't exist")
 
     if not (options.whitelisted and test in options.whitelisted):
         if options.blacklist and test in options.blacklist: