def check_minus_one(result, func, cargs):
    if result == -1:
        raise GEOSException('Error encountered in GEOS C function "%s".' % func.__name__)
    else:
        return result
Test friendships in which only one of the users considers the other a friend.
dataset/ETHPy150Open dcramer/django-compositepks/django/contrib/gis/geos/prototypes/errcheck.py/check_minus_one--crossover with--dataset/ETHPy150Open viewfinderco/viewfinder/backend/www/test/query_users_test.py/QueryUsersTestCase.testOneSidedFriendships