
­­­­­­­­­­­­­­­­­­
<!DOCTYPE html>
<html>
3
yb                 @   sX   d dl Z ddlmZ dd Zdd Zdd	 Zd
d Zdd Zdd Zdd Z	dd Z
dS )    N   )rst_to_textc               C   s   t ddkstd S )Nz*foo* and ``bar``.zfoo and bar.)r   AssertionError r   r   /usr/lib64/python3.6/nanorst.pytest_inline   s    r   c               C   s   t ddkstd S )Nz*foo and bar, thusly
foobar*.zfoo and bar, thusly
foobar.)r   r   r   r   r   r   test_inline_spread   s    r   c               C   s   t ddkstd S )NzFoo and Bar
.. foo
bar)r   r   r   r   r   r   test_comment_inline   s    r	   c               C   s   t ddkstd S )NzSuch as "\*" characters.zSuch as "*" characters.)r   r   r   r   r   r   test_inline_escape   s    r
   c               C   s   t ddkstd S )NzFoo and Bar

.. foo
barzFoo and Bar

bar)r   r   r   r   r   r   test_comment   s    r   c               C   s   t ddkstd S )Nz.. note::
   Note this and thatzNote:
   Note this and that)r   r   r   r   r   r   test_directive_note   s    r   c              C   s    ddi} t d| ddkstd S )NZfooZbazzSee :ref:`fo
o`.)
referenceszSee baz.)r   r   )r   r   r   r   test_ref   s    r   c           
   C   s4   t jt} td W d Q R X dt| jks0td S )NzSee :ref:`foo`.zUndefined reference)pytestZraises
ValueErrorr   strvaluer   )exc_infor   r   r   test_undefined_ref&   s    r   )r   Znanorstr   r   r   r	   r
   r   r   r   r   r   r   r   r   <module>   s   