def test_get_object_traceback(self):
    tracemalloc.clear_traces()
    obj_size = 12345
    (obj, obj_traceback) = allocate_bytes(obj_size)
    traceback = tracemalloc.get_object_traceback(obj)
    self.assertEqual(traceback, obj_traceback)
def test_get_object_traceback(self):
    tracemalloc.clear_traces()
    obj_size = 12345
    (obj, obj_traceback) = allocate_bytes(obj_size)
    traceback = tracemalloc.get_object_traceback(obj)
    self.assertEqual(traceback, obj_traceback)