From 406fb2324382e4e745ebdccc1d7c4850a92a88dd Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Thu, 2 Jul 2020 12:51:54 -0700 Subject: [PATCH] test: `iteritems` -> `items` This allows the lit configuration to be python 2 and 3 compatible. --- test/lit.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lit.cfg b/test/lit.cfg index 1cdd4b7ee9c08..e36f380e3a87e 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -1564,7 +1564,7 @@ source_compiler_rt_libs(compiler_rt_dir) def check_runtime_libs(features_to_check): for lib in config.compiler_rt_libs: - for (libname, feature) in features_to_check.iteritems(): + for (libname, feature) in features_to_check.items(): if lib.startswith("libclang_rt." + libname + "_"): config.available_features.add(feature)