summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--md_tw.py1
-rw-r--r--tests/test_md_tw.py2
2 files changed, 0 insertions, 3 deletions
diff --git a/md_tw.py b/md_tw.py
index c9c70c1..bd9d991 100644
--- a/md_tw.py
+++ b/md_tw.py
@@ -29,7 +29,6 @@ class TWBlockLexer(mistune.BlockLexer):
def __init__(self, rules=None, **kwargs):
super(TWBlockLexer, self).__init__(rules, **kwargs)
- self.default_rules = ['paragraph', 'text']
class TWInlineLexer(mistune.InlineLexer):
diff --git a/tests/test_md_tw.py b/tests/test_md_tw.py
index d8a7f92..c06a267 100644
--- a/tests/test_md_tw.py
+++ b/tests/test_md_tw.py
@@ -41,8 +41,6 @@ class TestTWBlockLexer(object):
self.bl = TWBlockLexer()
- def test_default_rules_contents(self):
- assert_equal(self.bl.default_rules, ['paragraph', 'text'])
def teardown(self):