Skip to content

Commit

Permalink
Darn, fixed version check in 'test_trie'
Browse files Browse the repository at this point in the history
  • Loading branch information
superbobry committed May 2, 2015
1 parent b1463d4 commit 0b7308b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_trie.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def test_trie_update():
trie.update({"bar": 123})
assert trie["bar"] == 123

if sys.version[0] == 2:
if sys.version_info[0] == 2:
with pytest.raises(TypeError):
trie.update(bar=24)
else:
Expand Down

0 comments on commit 0b7308b

Please sign in to comment.