|
|
@@ -21,7 +21,6 @@ |
|
|
|
# SOFTWARE. |
|
|
|
|
|
|
|
from __future__ import print_function, unicode_literals |
|
|
|
from unittest import TestCase |
|
|
|
from os import listdir, path |
|
|
|
|
|
|
|
from mwparserfromhell.compat import py3k |
|
|
@@ -32,7 +31,7 @@ class _TestParseError(Exception): |
|
|
|
pass |
|
|
|
|
|
|
|
|
|
|
|
class TokenizerTestCase(TestCase): |
|
|
|
class TokenizerTestCase(object): |
|
|
|
"""A base test case for tokenizers, whose tests are loaded dynamically. |
|
|
|
|
|
|
|
Subclassed along with unittest.TestCase to form TestPyTokenizer and |
|
|
|