def test_with_mixed_stack():
 def a():
  with xxx() as abc:
   f()
 def f():
  for z in ():
   pass
  (1 / 0)
 class xxx(object, ):
  def __enter__(*args):
   pass
  def __exit__(*args):
   pass
 try:
  a()
 except:
  assert_traceback([((Line496 + 19), 30, 'test_traceback.py', 'test_with_mixed_stack'), ((Line496 + 6), 3, 'test_traceback.py', 'a'), ((Line496 + 12), 3, 'test_traceback.py', 'f')])

def test_with_mixed_stack ( ) : def a ( ) : with xxx ( ) as abc : f ( ) def f ( ) : for z in ( ) : pass ( 1 / 0 ) class xxx ( object , ) : def __enter__ ( * args ) : pass def __exit__ ( * args ) : pass try : a ( ) except : assert_traceback ( [ ( ( Line496 + 19 ) , 30 , 'test_traceback.py' , 'test_with_mixed_stack' ) , ( ( Line496 + 6 ) , 3 , 'test_traceback.py' , 'a' ) , ( ( Line496 + 12 ) , 3 , 'test_traceback.py' , 'f' ) ] )
tests a stack which is mixed w/ interpreted and non-interpreted frames because f() has a loop in it .