Skip to content

Commit 0dafa58

Browse files
author
Thomas Preud'homme
committed
Fix multiple import on one line
Fix Flake8's E401 error (multiple imports on one line) Reviewed By: cmatthews Differential Revision: https://reviews.llvm.org/D94721
1 parent d36ab10 commit 0dafa58

File tree

5 files changed

+25
-5
lines changed

5 files changed

+25
-5
lines changed

tests/server/db/ImportV4TestSuiteInstance.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@
6262
# Run consistency checks on the final database, to validate the import.
6363
# RUN: python %s %t.install/data/lnt.db
6464

65-
import datetime, sys
65+
import datetime
66+
import sys
6667

6768
import lnt.testing
6869
from lnt.server.config import Config

tests/server/db/search.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# RUN: python %s %S
22

3-
import unittest, tempfile, shutil, sys, os
3+
import unittest
4+
import tempfile
5+
import shutil
6+
import sys
7+
import os
48
import lnt.util.ImportData
59
import lnt.server.instance
610
from lnt.server.db.search import search

tests/testing/cPerf.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# RUN: python %s
22

3-
import unittest, sys, os, tempfile
3+
import unittest
4+
import sys
5+
import os
6+
import tempfile
47
from lnt.testing.profile.perf import LinuxPerfProfile
58

69
class CPerfTest(unittest.TestCase):

tests/testing/profilev1impl.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# RUN: python %s
2-
import unittest, logging, sys, copy, tempfile, io
2+
3+
import unittest
4+
import logging
5+
import sys
6+
import copy
7+
import tempfile
8+
import io
39
from lnt.testing.profile.profilev1impl import ProfileV1
410
from lnt.testing.profile.profile import Profile
511

tests/testing/profilev2impl.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# RUN: python %s
2-
import unittest, logging, sys, copy, tempfile, io
2+
3+
import unittest
4+
import logging
5+
import sys
6+
import copy
7+
import tempfile
8+
import io
39
from lnt.testing.profile.profilev2impl import ProfileV2
410
from lnt.testing.profile.profilev1impl import ProfileV1
511

0 commit comments

Comments
 (0)