plugin-python icon indicating copy to clipboard operation
plugin-python copied to clipboard

Test failures running with python3 < 3.6

Open ryanashcraft opened this issue 7 years ago • 0 comments

Currently the test suite covers several python3 language features that did not exist pre-3.6. So running yarn test on a system with python 3.4, for example, you get several tests failing from parse errors. Perhaps we should add an explicit version check before parsing and log a warning or throw an error? plugin-swift does this: https://github.com/prettier/plugin-swift/blob/master/src/parser/wrapper.js.

ryanashcraft avatar May 20 '18 17:05 ryanashcraft