Skip to content

Commit

Permalink
Update test_shortcodes.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ralsina committed May 9, 2017
1 parent 1296210 commit 6b4c4ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_shortcodes.py
Expand Up @@ -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__)
Expand Down

0 comments on commit 6b4c4ba

Please sign in to comment.