def test_last_construct_single_line_comment():
    two_way_conversion_test("def my_utility(argument):\n"
                            "   do_something()\n"
                            "   # comment\n"
                            "\n",
                            "function my_utility(argument) {\n"
                            "   do_something();\n"
                            "   // comment\n"
                            "}\n")
Test to ensure correct behaviour when the last construct is a single line comment
dataset/ETHPy150Open timothycrosley/jiphy/test_jiphy.py/test_last_construct_single_line_comment