Skip to content

Commit

Permalink
Merge pull request #12 from zopefoundation/add-py35-support
Browse files Browse the repository at this point in the history
Add support for Python 3.5
  • Loading branch information
tseaver committed Apr 15, 2016
2 parents 074d220 + a77ac68 commit cc27bf2
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 14 deletions.
19 changes: 8 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
language: python
sudo: false

env:
- TOXENV=py27
- TOXENV=py33
- TOXENV=py34
- TOXENV=pypy
- TOXENV=pypy3

python:
- 2.7
- 3.3
- 3.4
- 3.5
- pypy
- pypy3
install:
- travis_retry pip install tox

- pip install tox-travis
script:
- tox

notifications:
email: false
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Changes
4.3.0 (unreleased)
------------------

- Add support for Python 3.5.

- Drop support for Python 2.6 and 3.2.


Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ def read(*rnames):
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Natural Language :: English',
Expand Down
6 changes: 4 additions & 2 deletions src/zope/publisher/tests/test_http.py
Original file line number Diff line number Diff line change
Expand Up @@ -487,8 +487,10 @@ def testCookieErrorToLog(self):
handler.uninstall()

self.assertEqual(len(handler.records), 1)
self.assertEqual(handler.records[0].getMessage(),
'Illegal key value: ldap/OU')

message = handler.records[0].getMessage()
self.assertTrue(message.startswith('Illegal key'))
self.assertTrue('ldap/OU' in message)

self.assertFalse(req.cookies.has_key('foo'))
self.assertFalse(req.has_key('foo'))
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ envlist =

[testenv]
commands =
python setup.py test -q
python setup.py -q test -q
# without explicit deps, setup.py test will download a bunch of eggs into $PWD
deps =
six
Expand Down

0 comments on commit cc27bf2

Please sign in to comment.