summaryrefslogtreecommitdiff
path: root/tests/test_pycco.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_pycco.py')
-rw-r--r--tests/test_pycco.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/test_pycco.py b/tests/test_pycco.py
index be4e620..85eecc1 100644
--- a/tests/test_pycco.py
+++ b/tests/test_pycco.py
@@ -130,15 +130,16 @@ def x():
def test_indented_block():
- code = '''"""
-To install Pycco, simply
+ code = '''"""To install Pycco, simply
pip install pycco
"""
'''
parsed = p.parse(code, PYTHON)
highlighted = p.highlight(parsed, PYTHON, outdir=tempfile.gettempdir())
- print highlighted
+ pre_block = highlighted[0]['docs_html']
+ assert '<pre>' in pre_block
+ assert '</pre>' in pre_block
def test_generate_documentation():