U
    ;ßôgM  ã                   @   sB   d dl Z d dl mZ d dlmZ d dlmZ G dd„ de jƒZdS )é    N)Úmock)Úrun_example)ÚImagec                   @   s,   e Zd Ze e d¡e d¡dd„ ƒƒZdS )ÚExampleTestzRequires PILzPIL.Image.Image.showc                 C   s   t ƒ  | ¡  d S )N)r   Zassert_called_with)ÚselfZ	mock_show© r   ú=/tmp/pip-unpacked-wheel-ij2mbwps/qrcode/tests/test_example.pyÚrunTest	   s    zExampleTest.runTestN)	Ú__name__Ú
__module__Ú__qualname__ÚunittestZskipIfr   r   Úpatchr	   r   r   r   r   r      s   r   )r   r   Zqrcoder   Zqrcode.compat.pilr   ZTestCaser   r   r   r   r   Ú<module>   s   