def requires_py2(testcase): return testtools.skipUnless(six.PY2, "requires python 2.x")(testcase)
def requires_py3(testcase): return testtools.skipUnless(six.PY3, "requires python 3.x")(testcase)