diff options
author | Mark Florisson <markflorisson88@gmail.com> | 2011-07-23 12:44:59 +0200 |
---|---|---|
committer | Mark Florisson <markflorisson88@gmail.com> | 2011-09-30 14:55:17 +0100 |
commit | 2599deb29f16af730e979c612670a76908971861 (patch) | |
tree | 191ae1f1ccd870e7cf076ccfd50c88a41e5252e1 /Cython/Compiler/CythonScope.py | |
parent | 3f8fefb0ecd81d30487b6f8ddad3c51622bb52e2 (diff) | |
download | cython-2599deb29f16af730e979c612670a76908971861.tar.gz |
Modify utility code loader as per discussion + tests
Diffstat (limited to 'Cython/Compiler/CythonScope.py')
-rw-r--r-- | Cython/Compiler/CythonScope.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Cython/Compiler/CythonScope.py b/Cython/Compiler/CythonScope.py index 5721cb192..2c1a8d5cc 100644 --- a/Cython/Compiler/CythonScope.py +++ b/Cython/Compiler/CythonScope.py @@ -103,9 +103,8 @@ def create_cython_scope(context, create_testscope): # Load test utilities for the cython scope -def load_testscope_utility(cython_util_name, *args, **kwargs): - return CythonUtilityCode.load_utility_from_file( - "TestCythonScope.pyx", cython_util_name, *args, **kwargs) +def load_testscope_utility(cy_util_name, **kwargs): + return CythonUtilityCode.load(cy_util_name, "TestCythonScope.pyx", **kwargs) undecorated_methods_protos = UtilityCode(proto=u""" |