[Pytest-commit] commit/pytest: 2 new changesets

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Thu Jan 15 21:22:53 CET 2015


2 new commits in pytest:

https://bitbucket.org/hpk42/pytest/commits/000b5a3962f5/
Changeset:   000b5a3962f5
Branch:      okin/only-one-import-on-one-line-if-this-shou-1421239108222
User:        okin
Date:        2015-01-14 12:38:37+00:00
Summary:     Only one import on one line.
If this should show good practices, the code should not set a bad example ;)
Affected #:  1 file

diff -r 2cec98e0d7cb292ed55a2b7482ec6d3c2cff90f9 -r 000b5a3962f58f7637e935e2b3ba7f2a8c4ce092 doc/en/goodpractises.txt
--- a/doc/en/goodpractises.txt
+++ b/doc/en/goodpractises.txt
@@ -194,7 +194,8 @@
             pass
 
         def run(self):
-            import sys,subprocess
+            import subprocess
+            import sys
             errno = subprocess.call([sys.executable, 'runtests.py'])
             raise SystemExit(errno)
 


https://bitbucket.org/hpk42/pytest/commits/d942d16857f3/
Changeset:   d942d16857f3
User:        hpk42
Date:        2015-01-15 20:22:49+00:00
Summary:     Merged in okin/pytest/okin/only-one-import-on-one-line-if-this-shou-1421239108222 (pull request #238)

Only one import on one line.
Affected #:  1 file

diff -r 2cec98e0d7cb292ed55a2b7482ec6d3c2cff90f9 -r d942d16857f3fd225d25bc21aa6531449163528c doc/en/goodpractises.txt
--- a/doc/en/goodpractises.txt
+++ b/doc/en/goodpractises.txt
@@ -194,7 +194,8 @@
             pass
 
         def run(self):
-            import sys,subprocess
+            import subprocess
+            import sys
             errno = subprocess.call([sys.executable, 'runtests.py'])
             raise SystemExit(errno)

Repository URL: https://bitbucket.org/hpk42/pytest/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.


More information about the pytest-commit mailing list