py.test skipping evaluation rules are kinda silly, and in this case completely useless

This commit is contained in:
Laurens Van Houtven
2013-06-23 21:56:00 +02:00
parent cb4acccfe5
commit adec666994

View File

@@ -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")