[py-svn] commit/pytest: RonnyPfannschmidt: skip test for pyo on pypy since pypy doesnt do pyo
Bitbucket
commits-noreply at bitbucket.org
Tue May 22 16:21:08 CEST 2012
1 new commit in pytest:
https://bitbucket.org/hpk42/pytest/changeset/3109649e4009/
changeset: 3109649e4009
user: RonnyPfannschmidt
date: 2012-05-22 16:20:58
summary: skip test for pyo on pypy since pypy doesnt do pyo
affected #: 1 file
diff -r 46c23fd6b785629030446a30e83e09c56ff0a8cd -r 3109649e400927e2b89ad41127ad39c282680126 testing/test_assertrewrite.py
--- a/testing/test_assertrewrite.py
+++ b/testing/test_assertrewrite.py
@@ -350,6 +350,7 @@
monkeypatch.setenv("PYTHONDONTWRITEBYTECODE", "1")
assert testdir.runpytest().ret == 0
+ @pytest.mark.skipif('"__pypy__" in sys.modules')
def test_pyc_vs_pyo(self, testdir, monkeypatch):
testdir.makepyfile("""
import pytest
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