OpenCloudOS-Kernel/tools/testing/kunit
Michał Winiarski 235528072f kunit: tool: Import missing importlib.abc
Python 3.10.0 contains:
9e09849d20 ("bpo-41006: importlib.util no longer imports typing (GH-20938)")

It causes importlib.util to no longer import importlib.abs, which leads
to the following error when trying to use kunit with qemu:
AttributeError: module 'importlib' has no attribute 'abc'. Did you mean: '_abc'?

Add the missing import.

Signed-off-by: Michał Winiarski <michal.winiarski@intel.com>
Reviewed-by: Daniel Latypov <dlatypov@google.com>
Reviewed-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2022-01-25 12:59:43 -07:00
..
configs kunit: Remove the unused all_tests.config 2021-06-23 17:49:41 -06:00
qemu_configs kunit: tool: add support for QEMU 2021-06-11 16:10:23 -06:00
test_data kunit: tool: Report an error if any test has no subtests 2021-12-13 13:36:15 -07:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
kunit.py kunit: tool: Default --jobs to number of CPUs 2021-12-15 16:44:55 -07:00
kunit_config.py kunit: tool: move Kconfig read_from_file/parse_from_string to package-level 2021-12-13 13:53:30 -07:00
kunit_json.py kunit: tool: delete kunit_parser.TestResult type 2021-12-15 11:50:56 -07:00
kunit_kernel.py kunit: tool: Import missing importlib.abc 2022-01-25 12:59:43 -07:00
kunit_parser.py kunit: tool: fix newly introduced typechecker errors 2021-12-15 16:44:49 -07:00
kunit_tool_test.py kunit: tool: Default --jobs to number of CPUs 2021-12-15 16:44:55 -07:00
qemu_config.py kunit: tool: add support for QEMU 2021-06-11 16:10:23 -06:00
run_checks.py kunit: add run_checks.py script to validate kunit changes 2021-12-13 13:35:22 -07:00