File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
clang/bindings/python/tests/cindex Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -998,13 +998,14 @@ def test_pretty_print(self):
998998 self .assertEqual (f .pretty_printed (pp ), "void f(_Bool x) {\n }\n " )
999999
10001000 def test_hash (self ):
1001- def accumulate_cursors (cursor : Cursor , all_cursors : list [Cursor ]):
1001+
1002+ def accumulate_cursors (cursor : Cursor , all_cursors : list ):
10021003 all_cursors .append (cursor )
10031004 for child in cursor .get_children ():
10041005 all_cursors = accumulate_cursors (child , all_cursors )
10051006 return all_cursors
10061007
1007- tu = get_tu (kInput )
1008+ tu = get_tu (children_test )
10081009 all_cursors = accumulate_cursors (tu .cursor , [])
10091010 cursor_hashes = set ()
10101011 for cursor in all_cursors :
@@ -1028,7 +1029,7 @@ def test_has_attrs(self):
10281029 self .assertFalse (B .get_definition ().has_attrs ())
10291030
10301031 def test_specialized_template (self ):
1031- tu = get_tu (kTemplateArgTest , lang = "cpp" )
1032+ tu = get_tu (template_arg_test , lang = "cpp" )
10321033 foos = get_cursors (tu , "foo" )
10331034 prime_foo = foos [1 ].specialized_template
10341035
You can’t perform that action at this time.
0 commit comments