Skip to content

Commit 117c8da

Browse files
committed
fix test_block on py26
1 parent fd3129b commit 117c8da

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

tests/test_block.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
from __future__ import unicode_literals
22
from textile import Textile
3-
from collections import OrderedDict
3+
try:
4+
from collections import OrderedDict
5+
except ImportError:
6+
from ordereddict import OrderedDict
47

58
def test_block():
69
t = Textile()

0 commit comments

Comments
 (0)