diff --git a/.travis.yml b/.travis.yml index 9f8dea7..8ab3a44 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,8 @@ matrix: include: - python: 3.5 env: TOXENV=py35 + - python: nightly + env: TOXENV=py36 env: - TOXENV=py27 - TOXENV=py33 diff --git a/hy/compiler.py b/hy/compiler.py index d663d58..6e6e627 100644 --- a/hy/compiler.py +++ b/hy/compiler.py @@ -1516,7 +1516,8 @@ class HyASTCompiler(object): gen.append(ast.comprehension( target=target, iter=gen_res.force_expr, - ifs=[])) + ifs=[], + is_async=False)) if cond.expr: gen[-1].ifs.append(cond.expr) diff --git a/tox.ini b/tox.ini index 2bea02d..0162794 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py27,pypy,py33,py34,py35,flake8 +envlist = py27,pypy,py33,py34,py35,py36,flake8 skipsdist = True [testenv]