view tests/test_parse_files/test_try.py @ 94:e0368bea06a6

Refactor tests a little bit so it's easier to add more.
author Bastien Orivel <eijebong@bananium.fr>
date Tue, 14 Jun 2016 18:39:48 +0200
parents c59ad5ccd8a6
children
line wrap: on
line source

def func():
    try:
        pass
    except (Exception1, Exception2):
        pass
    except Exception3 as e:
        pass
    finally:
        pass