def test_uselist_false_warning(self):

        User, users, orders, Order = (self.classes.User,
                                self.tables.users,
                                self.tables.orders,
                                self.classes.Order)


        mapper(User, users, properties={
            'order':relationship(Order, uselist=False)
        })
        mapper(Order, orders)
        s = create_session()
        assert_raises(sa.exc.SAWarning,
                s.query(User).options(subqueryload(User.order)).all)
Test whether a path is a symbolic link
dataset/ETHPy150Open zzzeek/sqlalchemy/test/orm/test_subquery_relations.py/EagerTest.test_uselist_false_warning--crossover with--dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/javapath.py/islink