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

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Mon Dec 16 11:52:00 CET 2013


2 new commits in pytest:

https://bitbucket.org/hpk42/pytest/commits/9fe1f0588fb7/
Changeset:   9fe1f0588fb7
User:        flub
Date:        2013-12-16 11:51:04
Summary:     Still print this, but use py2/py3 compat syntax

I realised being able to print is probably an essential part of this
test which I may have inadvertendly disabled, so correct that.
Affected #:  1 file

diff -r de9c3a3932c3c1c921360028c88465d36c4968e5 -r 9fe1f0588fb743b461620f35aac87c09fbc77cdb testing/test_junitxml.py
--- a/testing/test_junitxml.py
+++ b/testing/test_junitxml.py
@@ -295,7 +295,7 @@
                 assert M1 == M2
             """)
         result, dom = runandparse(testdir)
-        # print dom.toxml()
+        print(dom.toxml())
 
     def test_pass_captures_stdout(self, testdir):
         testdir.makepyfile("""


https://bitbucket.org/hpk42/pytest/commits/1f0a52f38f01/
Changeset:   1f0a52f38f01
User:        flub
Date:        2013-12-16 11:51:50
Summary:     Fix docstring

This was copied from another paramterize call and I forgot to change
the parameters referred too.
Affected #:  1 file

diff -r 9fe1f0588fb743b461620f35aac87c09fbc77cdb -r 1f0a52f38f01757cc2bde11d1703564662c42752 _pytest/python.py
--- a/_pytest/python.py
+++ b/_pytest/python.py
@@ -73,9 +73,9 @@
                 can see it.  If False (the default) then an explicit
                 reference is needed to activate the fixture.
 
-    :arg ids: list of string ids each corresponding to the argvalues
+    :arg ids: list of string ids each corresponding to the params
        so that they are part of the test id. If no ids are provided
-       they will be generated automatically from the argvalues.
+       they will be generated automatically from the params.
 
     """
     if callable(scope) and params is None and autouse == False:

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