@dec.slow
    def test_inline(self):
        #TODO: THIS NEEDS TO MOVE TO THE INLINE TEST SUITE
        a = Foo()
        a.b = 12345
        code = """
               throw_error(PyExc_AttributeError,"bummer");
               """
        try:
            before = sys.getrefcount(a)
            inline_tools.inline(code,['a'])
        except __HOLE__:
            after = sys.getrefcount(a)
            try:
                inline_tools.inline(code,['a'])
            except:
                after2 = sys.getrefcount(a)

            debug_print("after and after2 should be equal in the following")
            debug_print('before, after, after2:', before, after, after2)
dataset/ETHPy150Open scipy/scipy/scipy/weave/tests/test_scxx_object.py/TestObjectHasattr.test_inline