o
    ?Hh                     @   s$   d Z ddlZddlmZ dd ZdS )z
Test the logger module.
    N)	PrintTimec                 C   sr   |  dj}t|d}|d t|d}|d t|d}|d | \}}d}t||s7td||f d S )Nztest.log)logfileFooz=Foo: 0\..s, 0\..min\nFoo: 0\..s, 0..min\nFoo: .\..s, 0..min\nzExcepted %s, got %s)joinstrpathr   
readouterrrematchAssertionError)tmpdircapsysr   
print_timeout_printed_texterr_printed_textr	    r   W/home/air/sanwanet/gpt-api/venv/lib/python3.10/site-packages/joblib/test/test_logger.pytest_print_time   s   


r   )__doc__r   joblib.loggerr   r   r   r   r   r   <module>   s    