Lib.test.except_in_raising_code.py Maven / Gradle / Ivy
def test():
print noname
def foo():
try:
test()
except ValueError:
raise RuntimeError("Accessing a undefined name should raise a NameError")
© 2015 - 2025 Weber Informatics LLC | Privacy Policy