3
d                 @   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   | j dj}t|d}|d t|d}|d t|d}|d |j \}}d}tj||sntd||f d S )Nztest.log)logfileZFooz.Foo: 0\..s, 0\..min\nFoo: 0\..s, 0..min\nFoo: z.\..s, 0..min\nzExcepted %s, got %sz=Foo: 0\..s, 0\..min\nFoo: 0\..s, 0..min\nFoo: .\..s, 0..min\n)joinZstrpathr   Z
readouterrrematchAssertionError)ZtmpdirZcapsysr   Z
print_timeZout_printed_textZerr_printed_textr    r   9/tmp/pip-build-v9q4h5k9/joblib/joblib/test/test_logger.pytest_print_time   s    


 r
   )__doc__r   Zjoblib.loggerr   r
   r   r   r   r	   <module>   s   