def skipIfPy3(message):
 from unittest import skipIf
 from .platform import is_py3
 return skipIf(is_py3(), message)

def skipIfPy3 ( message ) : from unittest import skipIf from . platform import is_py3 return skipIf ( is_py3 ( ) , message )
unittest decorator to skip a test for python 3 .