class Test var _d = {'x': 1} # test initializing a class var with a dictionary def main is shared Test().run def run assert _d.count == 1 assert _d['x'] == 1