1 new commit in pytest:
https://bitbucket.org/hpk42/pytest/commits/d1418860dd4a/
Changeset: d1418860dd4a
User: hpk42
Date: 2013-11-19 11:18:51
Summary: xfail a test on pypy that checks wrong encoding/ascii (pypy does
not error out). fixes issue385.
also re-enable pypy tests in tox.
Affected #: 3 files
diff -r ba546e167318e92a2f2f052a958e093e536aff2e -r
d1418860dd4a5dc8ed88ff2104e8e9b1801477e1 CHANGELOG
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -39,6 +39,8 @@
arg is an lambda and thus the example will work. Thanks Alex Gaynor
for bringing it up.
+- xfail a test on pypy that checks wrong encoding/ascii (pypy does
+ not error out). fixes issue385.
Changes between 2.4.1 and 2.4.2
-----------------------------------
diff -r ba546e167318e92a2f2f052a958e093e536aff2e -r
d1418860dd4a5dc8ed88ff2104e8e9b1801477e1 testing/test_assertrewrite.py
--- a/testing/test_assertrewrite.py
+++ b/testing/test_assertrewrite.py
@@ -441,8 +441,9 @@
])
@pytest.mark.skipif("sys.version_info[0] >= 3")
+ @pytest.mark.xfail("hasattr(sys, 'pypy_translation_info')")
def test_assume_ascii(self, testdir):
- content = "u'\xe2\x99\xa5'"
+ content = "u'\xe2\x99\xa5\x01\xfe'"
testdir.tmpdir.join("test_encoding.py").write(content, "wb")
res = testdir.runpytest()
assert res.ret != 0
diff -r ba546e167318e92a2f2f052a958e093e536aff2e -r
d1418860dd4a5dc8ed88ff2104e8e9b1801477e1 tox.ini
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,6 @@
[tox]
distshare={homedir}/.tox/distshare
-envlist=flakes,py25,py26,py27,py27-nobyte,py32,py33,py27-xdist,trial
+envlist=flakes,py25,py26,py27,pypy,py27-nobyte,py32,py33,py27-xdist,trial
[testenv]
changedir=testing
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
[email protected]
https://mail.python.org/mailman/listinfo/pytest-commit