Commit 3ee6b3c0 by Don Mitchell

pep8 violation fix (shadowed identifier)

parent 1abae6f0
...@@ -992,8 +992,8 @@ class TestInheritance(SplitModuleTest): ...@@ -992,8 +992,8 @@ class TestInheritance(SplitModuleTest):
# This mocks the django.modulestore() function and is intended purely to disentangle # This mocks the django.modulestore() function and is intended purely to disentangle
# the tests from django # the tests from django
def modulestore(): def modulestore():
def load_function(path): def load_function(engine_path):
module_path, _, name = path.rpartition('.') module_path, _, name = engine_path.rpartition('.')
return getattr(import_module(module_path), name) return getattr(import_module(module_path), name)
if SplitModuleTest.modulestore is None: if SplitModuleTest.modulestore is None:
......
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