1# Regression test for #290 - throwing exception in another module led to 2# its namespace stick and namespace of current module not coming back. 3import import1b 4 5 6def func1(): 7 print("func1") 8 9 10def func2(): 11 try: 12 import1b.throw() 13 except ValueError: 14 pass 15 func1() 16 17 18func2() 19