Simplify cross version tests

This commit is contained in:
Anthony Sottile 2018-01-02 12:47:47 -08:00
parent c5030c8dca
commit a506a1cac1
6 changed files with 8 additions and 11 deletions

View file

@ -2,5 +2,5 @@
name: Python 3 Hook
entry: python3-hook
language: python
language_version: python3.5
language_version: python3
files: \.py$

View file

@ -2,5 +2,5 @@
name: Python 3 Hook
entry: python3-hook
language: python
language_version: python3.5
language_version: python3
files: \.py$

View file

@ -4,7 +4,7 @@ import sys
def func():
print('{}.{}'.format(*sys.version_info[:2]))
print(sys.version_info[0])
print(repr(sys.argv[1:]))
print('Hello World')
return 0