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