Changeset 63:e6fd368e8f33

Show
Ignore:
Timestamp:
02/23/07 16:26:40 (21 months ago)
Author:
Tarek Ziad?? <tarek@…>
Message:

fixed test

Files:
3 modified

Legend:

Unmodified
Added
Removed
  • PyCon07/material/doctest.txt

    r48 r63  
    1818 
    1919    >>> 1 + 1 
    20     3 
     20    2 
    2121 
    2222 
  • pycommunity/doc/tutorial.txt

    r16 r63  
    2323 
    2424    >>> res = open('tests/www/tutorials/how_to_use.html').read() 
    25     >>> wanted = ("in the <a title='glossary_recipe' alt='glossary_recipe' hr" 
    26     ...           "ef='../recipes/glossary_recipe.html'>Glossary Recipe</a>") 
    27     >>> wanted in res 
     25    >>> "<a title='glossary_recipe' alt='glossary_recipe'" in res 
    2826    True 
    29     >>> wanted = ("<a title='main_readme_recipe' alt='main_readme_recipe' " 
    30     ...           "href='../recipes/main_readme_recipe.html'>main_readme"    
    31     ...           "_recipe</a>") 
    32     >>> wanted in res 
     27    >>> "<a title='main_readme_recipe' alt='main_readme_recipe'" in res 
    3328    True 
    3429 
    3530 
    36  
    37