def _non_default_isolation_level(self):
    levels = testing.requires.get_isolation_levels(testing.config)
    default = levels['default']
    supported = levels['supported']
    s = set(supported).difference(['AUTOCOMMIT', default])
    if s:
        return s.pop()
    else:
        assert False, 'no non-default isolation level available'
def _non_default_isolation_level(self):
    levels = testing.requires.get_isolation_levels(testing.config)
    default = levels['default']
    supported = levels['supported']
    s = set(supported).difference(['AUTOCOMMIT', default])
    if s:
        return s.pop()
    else:
        assert False, 'no non-default isolation level available'