Patchwork tests: lexicographical imports in silenttestrunner.py

login
register
mail settings
Submitter roby roby
Date April 3, 2016, 7:04 a.m.
Message ID <0ca680c0856e4672124f.1459667089@roby>
Download mbox | patch
Permalink /patch/14273/
State Accepted
Headers show

Comments

roby roby - April 3, 2016, 7:04 a.m.
# HG changeset patch
# User Robert Stanca <robert.stanca7@gmail.com>
# Date 1459666978 -10800
#      Sun Apr 03 10:02:58 2016 +0300
# Node ID 0ca680c0856e4672124f64e431162e533bdee5bb
# Parent  3b0991496c4062cbc9970e701b323cb56331540f
tests: lexicographical imports in silenttestrunner.py
Yuya Nishihara - April 3, 2016, 10:10 a.m.
On Sun, 03 Apr 2016 10:04:49 +0300, Robert Stanca wrote:
> # HG changeset patch
> # User Robert Stanca <robert.stanca7@gmail.com>
> # Date 1459666978 -10800
> #      Sun Apr 03 10:02:58 2016 +0300
> # Node ID 0ca680c0856e4672124f64e431162e533bdee5bb
> # Parent  3b0991496c4062cbc9970e701b323cb56331540f
> tests: lexicographical imports in silenttestrunner.py

Queued, thanks. I'll check if we can extend import checker for tests/*.py.

Patch

diff -r 3b0991496c40 -r 0ca680c0856e tests/silenttestrunner.py
--- a/tests/silenttestrunner.py	Sun Apr 03 06:20:17 2016 +0300
+++ b/tests/silenttestrunner.py	Sun Apr 03 10:02:58 2016 +0300
@@ -1,7 +1,7 @@ 
 from __future__ import absolute_import, print_function
+import os
+import sys
 import unittest
-import sys
-import os
 
 def main(modulename):
     '''run the tests found in module, printing nothing when all tests pass'''