diff options
author | Waylan Limberg <waylan@gmail.com> | 2008-03-03 02:29:33 +0000 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2008-03-03 02:29:33 +0000 |
commit | c411dd7ee643ae2953997018358e319d16dcef6a (patch) | |
tree | 0e9d37c7a5b3df89af1a46d20eea6c520644f8dd /test-markdown.py | |
parent | 7e0b40c87dd4d8faf4be4b8ba13aa79959f4a547 (diff) | |
download | markdown-c411dd7ee643ae2953997018358e319d16dcef6a.tar.gz markdown-c411dd7ee643ae2953997018358e319d16dcef6a.tar.bz2 markdown-c411dd7ee643ae2953997018358e319d16dcef6a.zip |
fixed testing framework to actually use the extensions passed in and a few other minor cleanup things.
Diffstat (limited to 'test-markdown.py')
-rw-r--r-- | test-markdown.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test-markdown.py b/test-markdown.py index 94fdda4..48dd40b 100644 --- a/test-markdown.py +++ b/test-markdown.py @@ -197,7 +197,7 @@ def testDirectory(dir, measure_time = False) : mem = memory() t = time.clock() - md = markdown.Markdown() + md = markdown.Markdown(extensions=extensions) construction_time = time.clock() - t construction_mem = memory(mem) @@ -232,7 +232,7 @@ def testDirectory(dir, measure_time = False) : actual_output = "" actual_lines = [] - #md.source = "" + md.source = "" gc.collect() mem = memory() t = time.clock() @@ -351,5 +351,6 @@ markdown = __import__(MARKDOWN_FILE) testDirectory("tests/markdown-test", measure_time=True) testDirectory("tests/misc", measure_time=True) -#testDirectory("tests/extensions-x-footnotes-toc") +#testDirectory("tests/extensions-x-footnotes") +# testDirectory("tests/extensions-x-ext1-ext2") |