diff --git a/.travis.yml b/.travis.yml index 74d12fc..90f17de 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,11 @@ language: python +sudo: true +dist: xenial python: - '2.7' -- '3.4' -- '3.5' - '3.6' -- pypy +- '3.7' +- pypy3.5 install: - pip install coveralls - pip install 'coverage<4' diff --git a/setup.py b/setup.py index f435962..41db631 100644 --- a/setup.py +++ b/setup.py @@ -43,8 +43,7 @@ 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.4', - 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', ] ) diff --git a/tox.ini b/tox.ini index 20c543a..7722ed8 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = flake8,py27,py34,py35,py36 +envlist = flake8,py27,py34,py35,py36,py37 [flake8] ; E501: line too long (X > 79 characters) @@ -35,3 +35,6 @@ basepython = python3.5 [testenv:py36] basepython = python3.6 + +[testenv:py37] +basepython = python3.7 diff --git a/voluptuous/schema_builder.py b/voluptuous/schema_builder.py index fa29b34..8d7a81a 100644 --- a/voluptuous/schema_builder.py +++ b/voluptuous/schema_builder.py @@ -898,7 +898,6 @@ def _iterate_object(obj): for key in slots: if key != '__dict__': yield (key, getattr(obj, key)) - raise StopIteration() class Msg(object):