o
    8Va                     @   sH   d dl mZmZmZ d dlmZ d dlmZ dd Zdd Z	dd	 Z
d
S )    )Symbol	PiecewiseEq)preview)BytesIOc                  C   :   t d} t }zt| dd|d W d S  ty   Y d S w )Nxpngr   outputZviewerZoutputbufferr   r   r   RuntimeError)r   obj r   C/usr/lib/python3/dist-packages/sympy/printing/tests/test_preview.pytest_preview	   s   r   c                  C   r   )Nu   αr	   r   r
   r   )ar   r   r   r   test_preview_unicode_symbol   s   r   c                  C   sN   t d} tdt| dfd}t }zt|dd|d W d S  ty&   Y d S w )Nr      r   )r   Tr	   r   r
   )r   r   r   r   r   r   )r   Zpwr   r   r   r   $test_preview_latex_construct_in_expr   s   r   N)Zsympyr   r   r   Zsympy.printing.previewr   ior   r   r   r   r   r   r   r   <module>   s   	
