aboutsummaryrefslogtreecommitdiffstats
path: root/tests/plugins.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/plugins.py')
-rw-r--r--tests/plugins.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/plugins.py b/tests/plugins.py
index bbeed60..12bac55 100644
--- a/tests/plugins.py
+++ b/tests/plugins.py
@@ -1,8 +1,12 @@
import traceback
-from .util import MarkdownSyntaxError
from nose.plugins import Plugin
from nose.plugins.errorclass import ErrorClass, ErrorClassPlugin
+
+class MarkdownSyntaxError(Exception):
+ pass
+
+
class Markdown(ErrorClassPlugin):
""" Add MarkdownSyntaxError and ensure proper formatting. """
mdsyntax = ErrorClass(MarkdownSyntaxError,