
    )cM                     Z    d dl Z d dl mZ d dlmZ d dlmZ  G d de j                        Zy)    N)mock)run_example)Imagec                   j    e Zd Z ej                  e d       ej                  d      d               Zy)ExampleTestzRequires PILzPIL.Image.Image.showc                 8    t                |j                          y )N)r   assert_called_with)self	mock_shows     ;/usr/lib/python3/dist-packages/qrcode/tests/test_example.pyrunTestzExampleTest.runTest	   s     	$$&    N)	__name__
__module____qualname__unittestskipIfr   r   patchr    r   r   r   r      s7    X__Y/TZZ&'' ( 0'r   r   )r   r   qrcoder   qrcode.compat.pilr   TestCaser   r   r   r   <module>r      s#       #'(## 'r   