Commit a9187c31 authored by marcoramirezmx's avatar marcoramirezmx Committed by Stéphane Wirtel

bpo-38100: Fix spelling error in unittest.mock code (GH-16168)

parent f18242be
......@@ -1988,9 +1988,9 @@ def _set_return_value(mock, method, name):
method.return_value = fixed
return
return_calulator = _calculate_return_value.get(name)
if return_calulator is not None:
return_value = return_calulator(mock)
return_calculator = _calculate_return_value.get(name)
if return_calculator is not None:
return_value = return_calculator(mock)
method.return_value = return_value
return
......
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