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

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Thu Aug 15 13:03:22 CEST 2013


3 new commits in pytest:

https://bitbucket.org/hpk42/pytest/commits/7e041e5cf6de/
Changeset:   7e041e5cf6de
Branch:      fix-broken-tests
User:        bubenkoff
Date:        2013-08-15 09:25:00
Summary:     initial
Affected #:  0 files



https://bitbucket.org/hpk42/pytest/commits/78c8ce18b913/
Changeset:   78c8ce18b913
Branch:      fix-broken-tests
User:        bubenkoff
Date:        2013-08-15 11:52:55
Summary:     fix broken python3 and python2.5 tests
Affected #:  2 files

diff -r 7e041e5cf6de7f0e1a39cfdd7ee1ab2330caec15 -r 78c8ce18b913ff27e9ed05ff77f352c771e9ee5a testing/test_fixture_finalizer.py
--- a/testing/test_fixture_finalizer.py
+++ b/testing/test_fixture_finalizer.py
@@ -5,12 +5,13 @@
 def test_fixture_finalizer(testdir):
     testdir.makeconftest("""
     import pytest
+    import sys
 
     @pytest.fixture
     def browser(request):
 
         def finalize():
-            print 'Finalized'
+            sys.stdout.write('Finalized')
         request.addfinalizer(finalize)
         return {}
     """)

diff -r 7e041e5cf6de7f0e1a39cfdd7ee1ab2330caec15 -r 78c8ce18b913ff27e9ed05ff77f352c771e9ee5a tox.ini
--- a/tox.ini
+++ b/tox.ini
@@ -31,6 +31,7 @@
 changedir=.
 basepython=python2.7
 deps=pytest-xdist
+distribute=true
 setenv=
     PYTHONDONTWRITEBYTECODE=1
 commands=


https://bitbucket.org/hpk42/pytest/commits/3067cee3dcbb/
Changeset:   3067cee3dcbb
User:        hpk42
Date:        2013-08-15 13:03:20
Summary:     Merged in bubenkoff/pytest/fix-broken-tests (pull request #65)

Fix broken python3 and python2.5 tests
Affected #:  2 files

diff -r ffcbf3e090c24239ab12a092c929fcecdfe49369 -r 3067cee3dcbbb487bdc65e7e2d0ff30852815f8a testing/test_fixture_finalizer.py
--- a/testing/test_fixture_finalizer.py
+++ b/testing/test_fixture_finalizer.py
@@ -5,12 +5,13 @@
 def test_fixture_finalizer(testdir):
     testdir.makeconftest("""
     import pytest
+    import sys
 
     @pytest.fixture
     def browser(request):
 
         def finalize():
-            print 'Finalized'
+            sys.stdout.write('Finalized')
         request.addfinalizer(finalize)
         return {}
     """)

diff -r ffcbf3e090c24239ab12a092c929fcecdfe49369 -r 3067cee3dcbbb487bdc65e7e2d0ff30852815f8a tox.ini
--- a/tox.ini
+++ b/tox.ini
@@ -31,6 +31,7 @@
 changedir=.
 basepython=python2.7
 deps=pytest-xdist
+distribute=true
 setenv=
     PYTHONDONTWRITEBYTECODE=1
 commands=

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