1 new changeset in py:

http://bitbucket.org/hpk42/py/changeset/949dd5cecef6/
changeset:   949dd5cecef6
user:        hpk42
date:        2011-07-07 18:55:55
summary:     skip a test than can only run for pytest-2.1
affected #:  2 files (10 bytes)

--- a/testing/code/test_assertion.py    Tue Jul 05 19:11:45 2011 +0200
+++ b/testing/code/test_assertion.py    Thu Jul 07 18:55:55 2011 +0200
@@ -248,8 +248,8 @@
 
 @py.test.mark.skipif("sys.version_info < (2,6)")
 def test_assert_customizable_reprcompare(monkeypatch):
-    import _pytest.assertion.util
-    monkeypatch.setattr(_pytest.assertion.util, '_reprcompare', lambda *args: 
'hello')
+    util = pytest.importorskip("_pytest.assertion.util")
+    monkeypatch.setattr(util, '_reprcompare', lambda *args: 'hello')
     try:
         assert 3 == 4
     except AssertionError:


--- a/tox.ini   Tue Jul 05 19:11:45 2011 +0200
+++ b/tox.ini   Thu Jul 07 18:55:55 2011 +0200
@@ -1,12 +1,12 @@
 [tox]
 envlist=py26,py27,py31,py32,py27-xdist,py25,py24
-indexserver=
-    default=http://pypi.testrun.org
+#indexserver=
+#    default=http://pypi.testrun.org
 
 [testenv]
 changedir=testing
 commands=py.test --confcutdir=.. -rfsxX 
--junitxml={envlogdir}/junit-{envname}.xml []
-deps=pytest>=2.0.0
+deps=pytest
 
 [testenv:py27-xdist]
 basepython=python2.7

Repository URL: https://bitbucket.org/hpk42/py/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
_______________________________________________
py-svn mailing list
py-svn@codespeak.net
http://codespeak.net/mailman/listinfo/py-svn

Reply via email to