skip test for pyo on pypy since pypy doesnt do pyo

This commit is contained in:
Ronny Pfannschmidt 2012-05-22 16:20:58 +02:00
parent 91c41cd6b3
commit db8fbe7661
1 changed files with 1 additions and 0 deletions

View File

@ -350,6 +350,7 @@ def test_no_bytecode():
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