def test_many_to_many(self, session, objects, calls):
        users = session.query(models.User).all()
        users[0].hobbies
        assert len(calls) == 1
        call = calls[0]
        assert call.objects == (models.User, 'User:1', 'hobbies')
        assert 'users[0].hobbies' in ''.join(call.frame[4])
dataset/ETHPy150Open jmcarp/nplusone/tests/test_sqlalchemy.py/TestManyToMany.test_many_to_many/original