Index: utils/lit/lit/formats/base.py =================================================================== --- utils/lit/lit/formats/base.py +++ utils/lit/lit/formats/base.py @@ -1,6 +1,5 @@ from __future__ import absolute_import import os -import sys import lit.Test import lit.util Index: utils/lit/lit/main.py =================================================================== --- utils/lit/lit/main.py +++ utils/lit/lit/main.py @@ -7,7 +7,12 @@ """ from __future__ import absolute_import -import math, os, platform, random, re, sys, time +import os +import platform +import random +import re +import sys +import time import tempfile import shutil Index: utils/lit/tests/Inputs/shtest-timeout/infinite_loop.py =================================================================== --- utils/lit/tests/Inputs/shtest-timeout/infinite_loop.py +++ utils/lit/tests/Inputs/shtest-timeout/infinite_loop.py @@ -1,7 +1,6 @@ # RUN: %{python} %s from __future__ import print_function -import time import sys print("Running infinite loop") Index: utils/lit/tests/Inputs/shtest-timeout/short.py =================================================================== --- utils/lit/tests/Inputs/shtest-timeout/short.py +++ utils/lit/tests/Inputs/shtest-timeout/short.py @@ -1,6 +1,4 @@ # RUN: %{python} %s from __future__ import print_function -import sys - print("short program")