From adec6669945234345ee42b708aab02628f1372d0 Mon Sep 17 00:00:00 2001 From: Laurens Van Houtven <_@lvh.cc> Date: Sun, 23 Jun 2013 21:56:00 +0200 Subject: [PATCH] py.test skipping evaluation rules are kinda silly, and in this case completely useless --- test/base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/base.py b/test/base.py index 450d3302..c9affeb4 100644 --- a/test/base.py +++ b/test/base.py @@ -62,5 +62,5 @@ def cwd_at(path): return wrapper return decorator -py3_only = pytest.mark.skipif("not is_py3k") -py2_only = pytest.mark.skipif("is_py3k") +py3_only = pytest.mark.skipif("sys.hexversion < 0x03000000") +py2_only = pytest.mark.skipif("sys.hexversion >= 0x03000000")