Explorar o código

Merge pull request #2551 from infosiftr/hy

Update python-hy test
Tianon Gravi %!s(int64=8) %!d(string=hai) anos
pai
achega
1fe352047c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      test/tests/python-hy/container.sh

+ 1 - 1
test/tests/python-hy/container.sh

@@ -2,7 +2,7 @@
 set -e
 
 # Hy doesn't work on 3.6+ :(
-if ! python -c 'import sys; exit((sys.version_info[0] == 3 and sys.version_info[1] >= 6) or sys.version_info[0] > 3)'; then
+if ! python -c 'import sys; exit((sys.version_info[0] == 3 and sys.version_info[1] >= 7) or sys.version_info[0] > 3)'; then
 	# TypeError: required field "is_async" missing from comprehension
 	echo >&2 'skipping Hy test -- no workie on Python 3.6+'
 	cat expected-std-out.txt # cheaters gunna cheat