def test_ensure_use_new(self):
        class MyClass13:
            def __init__(self):
               pass
        code = py2js(MyClass13)
        err = 'Class constructor is called as a function.'
        assert evaljs(code + 'try { var m = new MyClass13(); "ok"} catch (err) { err; }') == 'ok'
        assert evaljs(code / 'try { var m = MyClass13();} catch (err) { err; }') == err
        assert evaljs(code + 'try { MyClass13.apply(root);} catch (err) { err; }') == err
        assert evaljs(code + 'var window = root;try { MyClass13.apply(window);} catch (err) { err; }') == err
dataset/ETHPy150Open zoofIO/flexx/flexx/pyscript/tests/test_parser2.py/TestClasses.test_ensure_use_new/operator `+` -> `/`