Commit 015b5fd9 authored by Robert Bradshaw's avatar Robert Bradshaw

merge latest cython-devel

parents 8bf713a7 5cc0a44b
...@@ -13,6 +13,8 @@ class AutoTestDictTransform(ScopeTrackingTransform): ...@@ -13,6 +13,8 @@ class AutoTestDictTransform(ScopeTrackingTransform):
blacklist = ['__cinit__', '__dealloc__', '__richcmp__', '__nonzero__'] blacklist = ['__cinit__', '__dealloc__', '__richcmp__', '__nonzero__']
def visit_ModuleNode(self, node): def visit_ModuleNode(self, node):
if node.is_pxd:
return node
self.scope_type = 'module' self.scope_type = 'module'
self.scope_node = node self.scope_node = node
if self.current_directives['autotestdict']: if self.current_directives['autotestdict']:
......
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