Skip to content
Permalink
Browse files
Update test_shortcodes.py
  • Loading branch information
ralsina committed May 9, 2017
1 parent 1296210 commit 6b4c4ba58d273e1c15d542f571bdfd2bb00da532
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/test_shortcodes.py
@@ -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_info[0] < "3":
monkeypatch.setattr(shortcodes, '_new_sc_id', i.next)
else:
monkeypatch.setattr(shortcodes, '_new_sc_id', i.__next__)

0 comments on commit 6b4c4ba

Please sign in to comment.