From b5096ab907c4a464622b6c6d7adb329a8f19190c Mon Sep 17 00:00:00 2001 From: "Michael R. Crusoe" Date: Thu, 8 Feb 2018 17:26:52 +0100 Subject: [PATCH] use mypy compat verson of version check --- cwltest/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cwltest/__init__.py b/cwltest/__init__.py index a7a498c..9eda222 100755 --- a/cwltest/__init__.py +++ b/cwltest/__init__.py @@ -32,7 +32,7 @@ UNSUPPORTED_FEATURE = 33 DEFAULT_TIMEOUT = 900 # 15 minutes -if sys.version_info.major < 3: +if sys.version_info < (3, 0): import subprocess32 as subprocess else: import subprocess