a
    ҏiq                     @   s&   d dl Z d dlmZ edddZdS )    N)Path)returnc                  C   s<   t  d } t | d }|s"J |js,J t|jj S )z.Returns the callee (`__file__`) directory name   r   )inspectstack	getmodule__file__r   parentabsolute)framemodule r   L/home/Claro/venv/lib/python3.9/site-packages/playwright/_impl/_path_utils.pyget_file_dirname   s
    
r   )r   pathlibr   r   r   r   r   r   <module>   s   