Skip to content
Snippets Groups Projects
Commit 8ac72b9d authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

Add testcase for failing namespace switch throwing exception from a module.

Issue #290. This currently fails, to draw attention to the issue.
parent 9307ef46
No related branches found
No related tags found
No related merge requests found
var = 123 var = 123
def throw():
raise ValueError
# Regression test for #290 - throwing exception in another module led to
# its namespace stick and namespace of current module not coming back.
import import1b
def func1():
return
def func2():
try:
import1b.throw()
except ValueError:
pass
func1()
func2()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment