Skip to content

Commit 1332b7a

Browse files
bcallerBen Caller
authored and
Ben Caller
committed
Test running pyt in a python 3.7 env
It should just work. There were no AST changes. Also removes the unnecesary whitelist_external from tox.ini. Note: pyt can be run in a py36 environment on code targeting 2.7-3.8. There is no requirement for pyt to be run under the same environment as your code is intended to run in. Running pyt under 3.8 will require some further work due to the change from ast.Str to ast.Constant: https://github.com/python/cpython/pull/9445/files https://docs.python.org/dev/whatsnew/3.8.html#deprecated https://bugs.python.org/issue32892
1 parent af23fb0 commit 1332b7a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.travis.yml

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
language: python
2+
dist: xenial
23
python:
34
- "3.6"
5+
- "3.7"
46
install:
57
- pip install codeclimate-test-reporter 'coverage>=4.0,<4.4' flake8
68
before_script:

tox.ini

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
[tox]
2-
envlist = py36,cover,lint
2+
envlist = py36,py37,cover,lint
33

44
[testenv]
55
commands =
66
python -m tests
77

88
[testenv:cover]
9-
whitelist_externals = coverage
109
deps =
1110
coverage>=4.0,<4.4
1211
commands =

0 commit comments

Comments
 (0)