Skip to content

Commit

Permalink
Add support for Python 3.7. (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Howitz committed Feb 12, 2019
1 parent a481115 commit 1c53bd0
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
@@ -1,12 +1,15 @@
language: python
sudo: false
python:
- 2.7
- 3.4
- 3.5
- 3.6
- pypy
- pypy3.5-5.8.0
- pypy3
matrix:
include:
- python: "3.7"
dist: xenial
install:
- pip install -U pip setuptools
- pip install -U coverage coveralls
Expand Down
2 changes: 2 additions & 0 deletions CHANGES.rst
Expand Up @@ -5,6 +5,8 @@
4.5.1 (unreleased)
==================

- Add support for Python 3.7.

- Make the tests compatible with ``zope.i18n >= 4.5``.


Expand Down
1 change: 1 addition & 0 deletions setup.py
Expand Up @@ -64,6 +64,7 @@ def alltests():
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Natural Language :: English',
Expand Down
2 changes: 2 additions & 0 deletions src/zope/formlib/tests/test_formlib.py
Expand Up @@ -757,6 +757,8 @@ def test_suite():
r"\n <exceptions.ValueError instance at ...>"),
(re.compile(r" ValueError\('could not convert string to float: bob',\)"),
r"\n <exceptions.ValueError instance at ...>"),
(re.compile(r"\(Invalid\('value bigger than max',\),\)"),
r"(Invalid('value bigger than max'),)"),
])
return unittest.TestSuite((
doctest.DocFileSuite(
Expand Down
9 changes: 8 additions & 1 deletion tox.ini
@@ -1,6 +1,13 @@
[tox]
envlist =
py27,py34,py35,py36,pypy,pypy3,docs
py27,
py34,
py35,
py36,
py37,
pypy,
pypy3,
docs

[testenv]
commands =
Expand Down

0 comments on commit 1c53bd0

Please sign in to comment.