Use Path String in extract_functions_lib_test
This makes the internal type checker not complain about the type
actually being an absl _TempDir instead of a string.
diff --git a/compiler_opt/tools/regalloc_trace/extract_functions_lib_test.py b/compiler_opt/tools/regalloc_trace/extract_functions_lib_test.py
index 22131e8..46b7cc2 100644
--- a/compiler_opt/tools/regalloc_trace/extract_functions_lib_test.py
+++ b/compiler_opt/tools/regalloc_trace/extract_functions_lib_test.py
@@ -33,7 +33,7 @@
_ = corpus_test_utils.setup_corpus(corpus_dir.full_path)
function_module_map = extract_functions_lib.get_function_module_map(
- corpus_dir, fake_llvm_nm_binary.full_path)
+ corpus_dir.full_path, fake_llvm_nm_binary.full_path)
self.assertDictEqual(
function_module_map, {
"a": os.path.join(corpus_dir.full_path, "module_b.o.bc"),