Fix test suite getting type checked accidentally

This commit is contained in:
Kovid Goyal
2021-02-19 15:19:04 +05:30
parent 45d89cfe55
commit e06d40cb31
3 changed files with 13 additions and 12 deletions

View File

@@ -44,7 +44,7 @@ def install_deps():
# needed for zlib for pillow, should not be needed after pillow 8.0
os.environ['PKG_CONFIG_PATH'] = '/usr/local/opt/zlib/lib/pkgconfig'
cmd = 'pip3 install Pillow pygments'
if sys.version[:2] < (3, 7):
if sys.version_info[:2] < (3, 7):
cmd += ' importlib-resources'
run(cmd)