Skip to content

Commit da3bd51

Browse files
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.
1 parent 14860b1 commit da3bd51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler_opt/tools/regalloc_trace/extract_functions_lib_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def test_get_function_module_map(self):
3333
_ = corpus_test_utils.setup_corpus(corpus_dir.full_path)
3434

3535
function_module_map = extract_functions_lib.get_function_module_map(
36-
corpus_dir, fake_llvm_nm_binary.full_path)
36+
corpus_dir.full_path, fake_llvm_nm_binary.full_path)
3737
self.assertDictEqual(
3838
function_module_map, {
3939
"a": os.path.join(corpus_dir.full_path, "module_b.o.bc"),

0 commit comments

Comments
 (0)