Home
last modified time | relevance | path

Searched refs:check_stack_size (Results 1 – 1 of 1) sorted by relevance

/third_party/python/Lib/test/
Dtest_compile.py981 def check_stack_size(self, code): member in TestExpressionStackSize
990 self.check_stack_size("x and " * self.N + "x")
993 self.check_stack_size("x or " * self.N + "x")
996 self.check_stack_size("x and x or " * self.N + "x")
999 self.check_stack_size("x < " * self.N + "x")
1002 self.check_stack_size("x if x else " * self.N + "x")
1005 self.check_stack_size("x + " * self.N + "x")
1008 self.check_stack_size("[" + "x, " * self.N + "x]")
1011 self.check_stack_size("(" + "x, " * self.N + "x)")
1014 self.check_stack_size("{" + "x, " * self.N + "x}")
[all …]