Skip to content

Commit b5096ab

Browse files
committed
use mypy compat verson of version check
1 parent f2553c9 commit b5096ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cwltest/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
UNSUPPORTED_FEATURE = 33
3333
DEFAULT_TIMEOUT = 900 # 15 minutes
3434

35-
if sys.version_info.major < 3:
35+
if sys.version_info < (3, 0):
3636
import subprocess32 as subprocess
3737
else:
3838
import subprocess

0 commit comments

Comments
 (0)