Skip to content

Commit

Permalink
Merge pull request #2 from zopefoundation/fix-tests
Browse files Browse the repository at this point in the history
Fix tests - this requires to drop Python 2.6 support.
  • Loading branch information
Michael Howitz committed Jun 19, 2017
2 parents d65bbe1 + b617aec commit 82fabab
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[tox]
envlist =
py26,py27,py33
py27,
py33,

[testenv]
commands =
Expand Down

0 comments on commit 82fabab

Please sign in to comment.