Skip to content

Commit 7e8fd05

Browse files
committed
fix for travis py3.3 and py3.7
1 parent fa02d9d commit 7e8fd05

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.travis.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,19 @@ language: python
44

55
python:
66
- "2.7"
7-
- "3.3"
87
- "3.4"
98
- "3.5"
109
- "3.6"
11-
- "3.7"
1210

1311
matrix:
1412
fast_finish: true
13+
include:
14+
- python: 3.7
15+
dist: xenial
16+
sudo: true
1517

1618
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
17-
install: pip install -r requirements_test.txt
19+
install: pip install tox-travis
1820

1921
# command to run tests using coverage, e.g. python setup.py test
2022
script: tox

README.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Also, if we just want to know if action is permitted, just let's run:
105105
False
106106
107107
>>> validation.error # it's an actual exception
108-
LogicException('Validation failed!',)
108+
LogicException('Validation failed!')
109109
110110
111111
@@ -155,7 +155,7 @@ make our own errors!
155155
False
156156
157157
>>> result.error
158-
LogicException('User is too young to watch this',)
158+
LogicException('User is too young to watch this')
159159
160160
>>> result.error_code == 'CANT_WATCH_MOVIE_TOO_YOUNG'
161161
True

0 commit comments

Comments
 (0)