[llvm] r283089 - [lit] Remove unused imports (NFC)
Chris Bieneman via llvm-commits
llvm-commits at lists.llvm.org
Sun Oct 2 21:48:18 PDT 2016
Author: cbieneman
Date: Sun Oct 2 23:48:18 2016
New Revision: 283089
URL: http://llvm.org/viewvc/llvm-project?rev=283089&view=rev
Log:
[lit] Remove unused imports (NFC)
Reviewers: ddunbar, echristo, beanz
Patch by Brian Gesiak!
Subscribers: llvm-commits, mehdi_amini
Differential Revision: https://reviews.llvm.org/D25169
Modified:
llvm/trunk/utils/lit/lit/formats/base.py
llvm/trunk/utils/lit/lit/main.py
llvm/trunk/utils/lit/tests/Inputs/shtest-timeout/infinite_loop.py
llvm/trunk/utils/lit/tests/Inputs/shtest-timeout/short.py
Modified: llvm/trunk/utils/lit/lit/formats/base.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/lit/formats/base.py?rev=283089&r1=283088&r2=283089&view=diff
==============================================================================
--- llvm/trunk/utils/lit/lit/formats/base.py (original)
+++ llvm/trunk/utils/lit/lit/formats/base.py Sun Oct 2 23:48:18 2016
@@ -1,6 +1,5 @@
from __future__ import absolute_import
import os
-import sys
import lit.Test
import lit.util
Modified: llvm/trunk/utils/lit/lit/main.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/lit/main.py?rev=283089&r1=283088&r2=283089&view=diff
==============================================================================
--- llvm/trunk/utils/lit/lit/main.py (original)
+++ llvm/trunk/utils/lit/lit/main.py Sun Oct 2 23:48:18 2016
@@ -7,7 +7,12 @@ See lit.pod for more information.
"""
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
Modified: llvm/trunk/utils/lit/tests/Inputs/shtest-timeout/infinite_loop.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/tests/Inputs/shtest-timeout/infinite_loop.py?rev=283089&r1=283088&r2=283089&view=diff
==============================================================================
--- llvm/trunk/utils/lit/tests/Inputs/shtest-timeout/infinite_loop.py (original)
+++ llvm/trunk/utils/lit/tests/Inputs/shtest-timeout/infinite_loop.py Sun Oct 2 23:48:18 2016
@@ -1,7 +1,6 @@
# RUN: %{python} %s
from __future__ import print_function
-import time
import sys
print("Running infinite loop")
Modified: llvm/trunk/utils/lit/tests/Inputs/shtest-timeout/short.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/tests/Inputs/shtest-timeout/short.py?rev=283089&r1=283088&r2=283089&view=diff
==============================================================================
--- llvm/trunk/utils/lit/tests/Inputs/shtest-timeout/short.py (original)
+++ llvm/trunk/utils/lit/tests/Inputs/shtest-timeout/short.py Sun Oct 2 23:48:18 2016
@@ -1,6 +1,4 @@
# RUN: %{python} %s
from __future__ import print_function
-import sys
-
print("short program")
More information about the llvm-commits
mailing list