From 3e255eae6406ee786a522a22937e67b61af3e1ee Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 26 Aug 2015 20:29:56 +0200 Subject: [PATCH] Skip some tests when frozen. --- tests/unit/misc/test_checkpyver.py | 1 + tests/unit/scripts/test_check_coverage.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/unit/misc/test_checkpyver.py b/tests/unit/misc/test_checkpyver.py index 29c728f8a..c2e89ddad 100644 --- a/tests/unit/misc/test_checkpyver.py +++ b/tests/unit/misc/test_checkpyver.py @@ -32,6 +32,7 @@ TEXT = (r"At least Python 3.4 is required to run qutebrowser, but " r"\d+\.\d+\.\d+ is installed!\n") +@pytest.mark.not_frozen def test_python2(): """Run checkpyver with python 2.""" try: diff --git a/tests/unit/scripts/test_check_coverage.py b/tests/unit/scripts/test_check_coverage.py index cbcfbf698..26fc6bdf1 100644 --- a/tests/unit/scripts/test_check_coverage.py +++ b/tests/unit/scripts/test_check_coverage.py @@ -26,7 +26,7 @@ from scripts.dev import check_coverage pytest_plugins = 'pytester' -pytestmark = pytest.mark.linux +pytestmark = [pytest.mark.linux, pytest.mark.not_frozen] class CovtestHelper: