summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Żenczykowski <maze@google.com>2020-05-11 23:15:38 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-05-11 23:15:38 +0000
commit8cc7ff84d902dac873dbe599bdfdb0ed99b49fd7 (patch)
treefa9e672ed3d2b8cc6557c9fa5643ad47cb7efc4c
parent98cfbc13e1e0db836b85ee6f1cf69893f0bdc7b5 (diff)
parent461542279e45c4caec692c25974c92c92c54f5e3 (diff)
downloadtests-8cc7ff84d902dac873dbe599bdfdb0ed99b49fd7.tar.gz
net-test: all_tests.py - fix a lint warning am: 461542279e
Change-Id: Ie22143a8a09020dc3699675639f4e8d9db8e51ea
-rwxr-xr-xnet/test/all_tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/test/all_tests.py b/net/test/all_tests.py
index 83c2770..5f6c583 100755
--- a/net/test/all_tests.py
+++ b/net/test/all_tests.py
@@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-from importlib import import_module
+import importlib
import sys
import unittest
@@ -49,7 +49,7 @@ if __name__ == '__main__':
# First, run InjectTests on all modules, to ensure that any parameterized
# tests in those modules are injected.
for name in test_modules:
- import_module(name)
+ importlib.import_module(name)
if hasattr(sys.modules[name], 'InjectTests'):
sys.modules[name].InjectTests()