1 new commit in pytest:

https://bitbucket.org/hpk42/pytest/commits/23e0cbf30ff9/
Changeset:   23e0cbf30ff9
User:        hpk42
Date:        2013-12-16 07:19:49
Summary:     fix py32 failures and remove random print from commit accident
Affected #:  2 files

diff -r 8bfae2a08735f51bf84499ca564859d30b02854c -r 
23e0cbf30ff9e1faf69b67c12a6354d8b7106d60 _pytest/python.py
--- a/_pytest/python.py
+++ b/_pytest/python.py
@@ -1623,7 +1623,6 @@
         return fixturenames_closure, arg2fixturedefs
 
     def pytest_generate_tests(self, metafunc):
-        print "pytest core pytest_generate_tests"
         for argname in metafunc.fixturenames:
             faclist = metafunc._arg2fixturedefs.get(argname)
             if faclist is None:

diff -r 8bfae2a08735f51bf84499ca564859d30b02854c -r 
23e0cbf30ff9e1faf69b67c12a6354d8b7106d60 testing/test_genscript.py
--- a/testing/test_genscript.py
+++ b/testing/test_genscript.py
@@ -22,7 +22,8 @@
 def test_gen(testdir, anypython, standalone):
     if sys.version_info >= (2,7):
         result = testdir._run(anypython, "-c",
-                                "import sys;print sys.version_info >=(2,7)")
+                                "import sys;print (sys.version_info >=(2,7))")
+        assert result.ret == 0
         if result.stdout.str() == "False":
             pytest.skip("genscript called from python2.7 cannot work "
                         "earlier python versions")

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.
_______________________________________________
pytest-commit mailing list
pytest-commit@python.org
https://mail.python.org/mailman/listinfo/pytest-commit

Reply via email to