Commit ed4e3b1f authored by Xavier Thompson's avatar Xavier Thompson

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

parent a0c2a335
...@@ -16,6 +16,7 @@ class TestMethodDispatcherTransform(TransformTest): ...@@ -16,6 +16,7 @@ class TestMethodDispatcherTransform(TransformTest):
def fake_module(node): def fake_module(node):
scope = ModuleScope('test', None, None) scope = ModuleScope('test', None, None)
scope.cpp = False
return ModuleNode(node.pos, doc=None, body=node, return ModuleNode(node.pos, doc=None, body=node,
scope=scope, full_module_name='test', scope=scope, full_module_name='test',
directive_comments={}) 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