From db8fbe7661e72fac0cf6e75573af2c1430b425ac Mon Sep 17 00:00:00 2001 From: Ronny Pfannschmidt Date: Tue, 22 May 2012 16:20:58 +0200 Subject: [PATCH] skip test for pyo on pypy since pypy doesnt do pyo --- testing/test_assertrewrite.py | 1 + 1 file changed, 1 insertion(+) diff --git a/testing/test_assertrewrite.py b/testing/test_assertrewrite.py index 648ab2100..74d29768d 100644 --- a/testing/test_assertrewrite.py +++ b/testing/test_assertrewrite.py @@ -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