aboutsummaryrefslogtreecommitdiffstats
path: root/tests/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/__init__.py')
-rw-r--r--tests/__init__.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/__init__.py b/tests/__init__.py
index d07ae7d..bad2a37 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -2,7 +2,12 @@ import os
import markdown
import codecs
import difflib
-import nose
+try:
+ import nose
+except ImportError:
+ raise ImportError, "The nose testing framework is required to run " \
+ "Python-Markdown tests. Run `easy_install nose` " \
+ "to install the latest version."
import util
from plugins import HtmlOutput, Markdown
try:
@@ -111,7 +116,3 @@ def TestSyntax():
def run():
nose.main(addplugins=[HtmlOutput(), Markdown()])
-# Hack to make nose run with extensions. Once extensions can be added from
-# setup.cfg, the below line can be removed.
-# See nose [Issue 271](http://code.google.com/p/python-nose/issues/detail?id=271)
-run()