def test_except_conversion():
    two_way_conversion_test("try:\n"
                            "   do_something()\n"
                            "except Exception as e:\n"
                            "   do_something_else(e)\n"
                            "\n",
                            "try {\n"
                            "   do_something();\n"
                            "} catch (e) {\n"
                            "   do_something_else(e);\n"
                            "}\n")
    two_way_conversion_test("try:\n"
                            "   do_something()\n"
                            "except:\n"
                            "   do_something_else()\n"
                            "\n",
                            "try {\n"
                            "   do_something();\n"
                            "} catch () {\n"
                            "   do_something_else();\n"
                            "}\n")
Compute the position of apertures inside a pad,
dataset/ETHPy150Open timothycrosley/jiphy/test_jiphy.py/test_except_conversion--crossover with--dataset/ETHPy150Open adamgreig/agg-kicad/scripts/build_mod_ic.py/inner_apertures