Commit 0d357b3e authored by Xavier Thompson's avatar Xavier Thompson

Set cpp attribute for ModuleNode instance in Tests/TestVisitor.py

parent 07145ea1
......@@ -16,6 +16,7 @@ class TestMethodDispatcherTransform(TransformTest):
def fake_module(node):
scope = ModuleScope('test', None, None)
scope.cpp = False
return ModuleNode(node.pos, doc=None, body=node,
scope=scope, full_module_name='test',
directive_comments={})
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment