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

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Fri Mar 14 13:06:58 CET 2014


2 new commits in pytest:

https://bitbucket.org/hpk42/pytest/commits/39ae14bd22af/
Changeset:   39ae14bd22af
Branch:      graingert/pep8-good-practices-code-1394196858258
User:        graingert
Date:        2014-03-07 13:51:51
Summary:     pep8 good practices code
Affected #:  1 file

diff -r 8d2d44cf0345a9e4e5992768c50c5918b8dc08cc -r 39ae14bd22af9d0a037f6246e37cc3c4415d54d9 doc/en/goodpractises.txt
--- a/doc/en/goodpractises.txt
+++ b/doc/en/goodpractises.txt
@@ -1,4 +1,3 @@
-
 .. highlightlang:: python
 .. _`goodpractises`:
 
@@ -190,12 +189,16 @@
         user_options = []
         def initialize_options(self):
             pass
+
         def finalize_options(self):
             pass
+
         def run(self):
             import sys,subprocess
             errno = subprocess.call([sys.executable, 'runtests.py'])
             raise SystemExit(errno)
+
+
     setup(
         #...,
         cmdclass = {'test': PyTest},
@@ -220,20 +223,24 @@
 Most often it is better to use tox_ instead, but here is how you can
 get started with setuptools integration::
 
+    import sys
+
     from setuptools.command.test import test as TestCommand
-    import sys
+
 
     class PyTest(TestCommand):
         def finalize_options(self):
             TestCommand.finalize_options(self)
             self.test_args = []
             self.test_suite = True
+
         def run_tests(self):
             #import here, cause outside the eggs aren't loaded
             import pytest
             errno = pytest.main(self.test_args)
             sys.exit(errno)
 
+
     setup(
         #...,
         tests_require=['pytest'],


https://bitbucket.org/hpk42/pytest/commits/2523488264cb/
Changeset:   2523488264cb
User:        hpk42
Date:        2014-03-14 13:06:53
Summary:     Merged in graingert/pytest/graingert/pep8-good-practices-code-1394196858258 (pull request #125)

pep8 good practices code
Affected #:  1 file

diff -r 52e080dd60eda8dcf4732baebebebb79160d14ff -r 2523488264cb7b8cd1963e09c44ba92b3a68f6c9 doc/en/goodpractises.txt
--- a/doc/en/goodpractises.txt
+++ b/doc/en/goodpractises.txt
@@ -1,4 +1,3 @@
-
 .. highlightlang:: python
 .. _`goodpractises`:
 
@@ -190,12 +189,16 @@
         user_options = []
         def initialize_options(self):
             pass
+
         def finalize_options(self):
             pass
+
         def run(self):
             import sys,subprocess
             errno = subprocess.call([sys.executable, 'runtests.py'])
             raise SystemExit(errno)
+
+
     setup(
         #...,
         cmdclass = {'test': PyTest},
@@ -220,20 +223,24 @@
 Most often it is better to use tox_ instead, but here is how you can
 get started with setuptools integration::
 
+    import sys
+
     from setuptools.command.test import test as TestCommand
-    import sys
+
 
     class PyTest(TestCommand):
         def finalize_options(self):
             TestCommand.finalize_options(self)
             self.test_args = []
             self.test_suite = True
+
         def run_tests(self):
             #import here, cause outside the eggs aren't loaded
             import pytest
             errno = pytest.main(self.test_args)
             sys.exit(errno)
 
+
     setup(
         #...,
         tests_require=['pytest'],

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