def skipIfDBFeature(feature):
    return _deferredSkip(lambda: getattr(connection.features, feature),
                         "Database has feature %s" % feature)
Skip a test if a database has the named feature
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/test/testcases.py/skipIfDBFeature