Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f393481

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 f393481

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
language: python
22
python:
33
- "3.6"
4+
- "3.7"
45
install:
56
- pip install codeclimate-test-reporter 'coverage>=4.0,<4.4' flake8
67
before_script:

‎tox.ini

Lines changed: 1 addition & 2 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /