Py3.3 fix

This commit is contained in:
Paul R. Tagliamonte 2013-03-05 21:49:46 -05:00
parent b37f3b8964
commit f950717e5a
2 changed files with 2 additions and 2 deletions

View File

@ -203,7 +203,7 @@ class HyASTCompiler(object):
@builds(HyInteger)
def compile_number(self, number):
return ast.Num(n=number,
return ast.Num(n=int(number), # See HyInteger above.
lineno=number.start_line,
col_offset=number.start_column)

View File

@ -1,5 +1,5 @@
[tox]
envlist = py27,pypy,py32
envlist = py27,pypy,py32,py26,py33
[testenv]
commands = nosetests
deps =