2 new commits in pytest:

https://bitbucket.org/hpk42/pytest/commits/d3ec7566fa0a/
Changeset:   d3ec7566fa0a
User:        bubenkoff
Date:        2013-07-11 11:15:31
Summary:     fixes for py25 in test_skipping
Affected #:  2 files

diff -r 9d9f4a158f2f1b8e4094584701eb6e45168d0d7c -r 
d3ec7566fa0a6fbf5faba45fee1e925f37c4aba0 .gitignore
--- a/.gitignore
+++ b/.gitignore
@@ -29,4 +29,5 @@
 .cache
 .coverage
 .ropeproject
+.idea
 

diff -r 9d9f4a158f2f1b8e4094584701eb6e45168d0d7c -r 
d3ec7566fa0a6fbf5faba45fee1e925f37c4aba0 testing/test_skipping.py
--- a/testing/test_skipping.py
+++ b/testing/test_skipping.py
@@ -108,8 +108,7 @@
                 pass
         """)
         ev = MarkEvaluator(item, 'skipif')
-        with pytest.raises(pytest.fail.Exception) as exc:
-            assert ev.istrue()
+        exc = pytest.raises(pytest.fail.Exception, "ev.istrue()")
         assert """Failed: you need to specify reason=STRING when using 
booleans as conditions.""" in exc.value.msg
 
     def test_skipif_class(self, testdir):


https://bitbucket.org/hpk42/pytest/commits/d50722bef5f6/
Changeset:   d50722bef5f6
User:        hpk42
Date:        2013-07-11 11:30:01
Summary:     Merge pull request #2 from bubenkoff/py25-test_skipping_faild

fixes for py25 in test_skipping
Affected #:  2 files

diff -r 5904151239588a7c187932b044c4e480f6965504 -r 
d50722bef5f6846a2f084b13aa6e486fdcdf8ac1 .gitignore
--- a/.gitignore
+++ b/.gitignore
@@ -29,4 +29,5 @@
 .cache
 .coverage
 .ropeproject
+.idea
 

diff -r 5904151239588a7c187932b044c4e480f6965504 -r 
d50722bef5f6846a2f084b13aa6e486fdcdf8ac1 testing/test_skipping.py
--- a/testing/test_skipping.py
+++ b/testing/test_skipping.py
@@ -108,8 +108,7 @@
                 pass
         """)
         ev = MarkEvaluator(item, 'skipif')
-        with pytest.raises(pytest.fail.Exception) as exc:
-            assert ev.istrue()
+        exc = pytest.raises(pytest.fail.Exception, "ev.istrue()")
         assert """Failed: you need to specify reason=STRING when using 
booleans as conditions.""" in exc.value.msg
 
     def test_skipif_class(self, testdir):

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
http://mail.python.org/mailman/listinfo/pytest-commit

Reply via email to