Skip to content

Commit

Permalink
Fix tests - this requires to drop Python 2.6 support.
Browse files Browse the repository at this point in the history
Python 2.6 is no longer supported by setuptools.
  • Loading branch information
Michael Howitz committed Jun 17, 2017
1 parent d65bbe1 commit b617aec
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
1 change: 0 additions & 1 deletion .travis.yml
@@ -1,7 +1,6 @@
language: python
sudo: false
env:
- TOXENV=py26
- TOXENV=py27
- TOXENV=py33
install:
Expand Down
2 changes: 1 addition & 1 deletion CHANGES.txt
Expand Up @@ -5,7 +5,7 @@ CHANGES
4.0.0a2 (unreleased)
--------------------

- Nothing changed yet.
- Dropped support for Python 2.6.


4.0.0a1 (2013-02-25)
Expand Down
5 changes: 5 additions & 0 deletions src/zope/generations/tests/test_generations.py
Expand Up @@ -25,6 +25,11 @@
r"\1"),
(re.compile('u(".*?")'),
r"\1"),
# Python 2 bytes has no "b".
(re.compile("b('.*?')"),
r"\1"),
(re.compile('b(".*?")'),
r"\1"),
])


Expand Down
3 changes: 2 additions & 1 deletion tox.ini
@@ -1,6 +1,7 @@
[tox]
envlist =
py26,py27,py33
py27,
py33,

[testenv]
commands =
Expand Down

0 comments on commit b617aec

Please sign in to comment.