o
    h
                     @  s   d dl mZ d	ddZdS )
    )annotationssourceobjectreturnstrc                 C  sh   | d u rdS zdd l }W n
 ty   Y dS w || }|d ur,d| }d| S d}d| dS )N r   
z
Object allocated at:
zPhttps://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warningszHEnable tracemalloc to get traceback where the object was allocated.
See z for more info.)tracemallocImportErrorget_object_tracebackjoinformat)r   r	   tbformatted_tburl r   T/var/www/html/openai_agents/venv/lib/python3.10/site-packages/_pytest/tracemalloc.pytracemalloc_message   s    

r   N)r   r   r   r   )
__future__r   r   r   r   r   r   <module>   s    