DRIVER=processor
MODALIAS=cpu:type:x86,ven0002fam0017mod0031:feature:,0000,0001,0002,0003,0004,0005,0006,0007,0008,0009,000B,000C,000D,000E,000F,0010,0011,0013,0017,0018,0019,001A,0020,0021,0022,0023,0024,0025,0026,0027,0028,0029,002B,002C,002D,002E,002F,0030,0031,0034,0036,0037,0038,0039,003A,003B,003D,0064,006E,0070,0072,0074,0075,0079,007A,007F,0080,0081,0089,008C,008D,0093,0094,0095,0096,0097,0098,0099,009A,009B,009C,009D,009E,009F,00C0,00C1,00C4,00C5,00C6,00C7,00C8,00C9,00D7,00EA,00ED,00F0,00F1,00F3,00F5,00F9,00FA,00FB,00FC,010F,0114,0115,0120,0121,0123,0125,0127,0128,0132,0133,0134,0137,0138,013D,0140,0141,0142,0165,016C,016E,016F,0170,017C,01A0,01A2,01A9,01AC,01AE,01AF,01B8,01C2,0202,0216,0220,0221,025A,025B,025D,025F,0282,0286,029C,029D

     ˆÂ�þB g Ùl!yð8çÁƒh¹À¿¾      DRIVER=processor
MODALIAS=cpu:type:x86,ven0002fam0017mod0031:feature:,0000,0001,0002,0003,0004,0005,0006,0007,0008,0009,000B,000C,000D,000E,000F,0010,0011,0013,0017,0018,0019,001A,0020,0021,0022,0023,0024,0025,0026,0027,0028,0029,002B,002C,002D,002E,002F,0030,0031,0034,0036,0037,0038,0039,003A,003B,003D,0064,006E,0070,0072,0074,0075,0079,007A,007F,0080,0081,0089,008C,008D,0093,0094,0095,0096,0097,0098,0099,009A,009B,009C,009D,009E,009F,00C0,00C1,00C4,00C5,00C6,00C7,00C8,00C9,00D7,00EA,00ED,00F0,00F1,00F3,00F5,00F9,00FA,00FB,00FC,010F,0114,0115,0120,0121,0123,0125,0127,0128,0132,0133,0134,0137,0138,013D,0140,0141,0142,0165,016C,016E,016F,0170,017C,01A0,01A2,01A9,01AC,01AE,01AF,01B8,01C2,0202,0216,0220,0221,025A,025B,025D,025F,0282,0286,029C,029D

  W   ˆl–Ü4ý(”Ëm
qAàCq§ÔÅ£’þFEœm²Jì�R´¦öjÿŸÂ{‹„„-i[D<†ªoZƒ›Ù«Ã134_‹I|¥Žƒî4ÃVŸÃÂ  †    ‹      +K,RHÎÏ+K-*Q°U(J-,Í,JÕP×Ó‡
ªkêp) AZi^2PTTC=±¸83=Ï3Ï1''<³$C]I¯ž>L,¥©iÍÅÒ¯W�“˜œš‘Ÿ“’Z„j’„:Pun~JiNª^jEA~QI1P)H·5 &€}ì¬        ˆÀ¿Ä523_‘I|¥‰ÓMdœv ©ƒ†ü+=ÄÃ     ‹      Õ•ßoÚ0ÇßûWÜü°7¸„2¦RÇSG�†FQ¦iš¦É‰±šÄÈ1Pö×Ï!a°ªl�¶iÝ“Ï—ïýø\›>Ç½Ù‡IÞÌ®‡0y÷z8èi ¾?ï!†³°zÐnz>bD€$Ö.»ˆ›Í¦¹9oj³ÀÙ›¥m,¬Q±m
+;£¥��M$nj•M%äBÞ�žê•-”�.n[ �kË¢´­Ì0“™6Ûzic®…ôêÝ…XE•Žb•Ô•Áº�´Ø–åý?]ÊeÜaðhW±4£6�5OÕ"ˆÕKÂ¨ÊP˜8 ¨b�¥<¿m.Ôœ Om@>zãON‡6)£å�9È«^0º!a#žIŠüaÍµÓ\6ä……L5WRœßTâõåtÂ°Ò„²ˆ�ZZ¥óƒâ1j¬ÓbÉëG�˜cU%?›�¿ÆäjÚÍÂÁ´‰(Sºû�GØ„™[•‘±uÎšª*ñ<�Šåå~uÏF-K@Tþè\§BšcÔS�{,ÂöÖq§÷Zky­NÃ÷þø/»^ài0µ–fÇP[O…a•ßæz“C¸ïùGŸùÊ¥2:’ßh®G`µ|ð:Ý–wË�¦oÿÖ=¤ÿg%×î·&¬Zÿ>À#O?¬ïŠ»ˆbuÿ}ÊÁb    A   	ˆl–äY>””Ð;Ê�jãMÜêbÑ¿�þY”7+®•–Ý,’ÏÇƒ ÷Æ_ŠI|¥�+Wé3ž¯ÆÅ ð    	import pytest

from ..nanorst import rst_to_text


def test_inline():
    assert rst_to_text('*foo* and ``bar``.') == 'foo and bar.'


def test_inline_spread():
    assert rst_to_text('*foo and bar, thusly\nfoobar*.') == 'foo and bar, thusly\nfoobar.'


def test_comment_inline():
    assert rst_to_text('Foo and Bar\n.. foo\nbar') == 'Foo and Bar\n.. foo\nbar'


def test_inline_escape():
    assert rst_to_text('Such as "\\*" characters.') == 'Such as "*" characters.'


def test_comment():
    assert rst_to_text('Foo and Bar\n\n.. foo\nbar') == 'Foo and Bar\n\nbar'


def test_directive_note():
    assert rst_to_text('.. note::\n   Note this and that') == 'Note:\n   Note this and that'


def test_ref():
    references = {
        'foo': 'baz'
    }
    assert rst_to_text('See :ref:`fo\no`.', references=references) == 'See baz.'


def test_undefined_ref():
    with pytest.raises(ValueError) as exc_info:
        rst_to_text('See :ref:`foo`.')
    assert 'Undefined reference' in str(exc_info.value)
  7   ˆl–Ü4ý( ©¤ýÔâ�fãOÜiÅ1hß‘äÇò 8àøÄÈÚ–V¿ŸÉƒh¹ÈÇÆ      0000008c
  K   ˆl–ß=¿J	å7µ2 Y¸®4Ú˜´o�þY \YÀ8äauÒ6ó�?Ê„l¼/É_’uÐb&=LyZ¿Iœõ,CÈ_ÉÈ <    §
    Uä�a>2  ã                   ó`  — d dl mZ d dl mZ d dlZd dlZd dlmZ d dlmZ d dlmZ d dlm	Z	 d dlm
Z
 d d	lmZ d d
lmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ  G d„ de	¦  «        Z G d„ dee¦  «        Z G d„ de¦  «        Z G d„ de¦  «        ZdS )é    )Úabsolute_import)Úprint_functionN)ÚBytesIO)ÚDEFAU