We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17072bd commit f096488Copy full SHA for f096488
1 file changed
Lib/test/test_symtable.py
@@ -620,10 +620,8 @@ def inner():
620
return x"""
621
622
top=symtable.symtable(code,"?","exec")
623
- outer=top.get_children()[0]
624
-
+ outer = find_block(top, "outer")
625
self.assertIn("x",outer.get_cells())
626
627
self.assertTrue(outer.lookup("x").is_cell())
628
self.assertFalse(outer.lookup("inner").is_cell())
629
0 commit comments