diff options
author | Maciej Żenczykowski <maze@google.com> | 2020-05-11 23:15:38 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-05-11 23:15:38 +0000 |
commit | 8cc7ff84d902dac873dbe599bdfdb0ed99b49fd7 (patch) | |
tree | fa9e672ed3d2b8cc6557c9fa5643ad47cb7efc4c | |
parent | 98cfbc13e1e0db836b85ee6f1cf69893f0bdc7b5 (diff) | |
parent | 461542279e45c4caec692c25974c92c92c54f5e3 (diff) | |
download | tests-8cc7ff84d902dac873dbe599bdfdb0ed99b49fd7.tar.gz |
net-test: all_tests.py - fix a lint warning am: 461542279e
Change-Id: Ie22143a8a09020dc3699675639f4e8d9db8e51ea
-rwxr-xr-x | net/test/all_tests.py | 4 |
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() |