describe('MyConstruct', () => {
let myconstruct: MyConstruct;
const stack = Testing.synthScope(scope => {
myconstruct = new MyConstruct(scope, "myconstruct");
})
})
How does one write this in Python? there is always an error
E jsii.errors.JSIIError: Cannot pass function as argument here (did you mean to call this function?): <function TestingMyConstruct. at 0x1027a04a0>