Skip to content

Commit

Permalink
[fix] octa notation isn't supported anymore in python 3
Browse files Browse the repository at this point in the history
  • Loading branch information
Psycojoker committed May 4, 2015
1 parent 7c61e55 commit 3fc8aef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ def test_to_python_float_node():
def test_to_python_octa_node():
red = RedBaron("0011")
assert red[0].value == "0011"
assert red[0].to_python() == 9
if sys.version < '3':
assert red[0].to_python() == 9


def test_to_python_hexa_node():
Expand Down

0 comments on commit 3fc8aef

Please sign in to comment.