Permalink
Browse files

oh, boy

  • Loading branch information...
ralsina committed May 8, 2017
1 parent fbd5730 commit 1296210b6d108b6033a86fbf4188e2ae51bc0d62
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/test_shortcodes.py
View
@@ -88,7 +88,7 @@ def test_errors(self):
def test_extract_shortcodes(input, expected, monkeypatch):
i = iter('SC%d' % i for i in range(1, 100))
if sys.version[0] < 3:
if sys.version[0] < "3":
monkeypatch.setattr(shortcodes, '_new_sc_id', i.next)
else:
monkeypatch.setattr(shortcodes, '_new_sc_id', i.__next__)

0 comments on commit 1296210

Please sign in to comment.