1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Renamed wrapped functions to wrapper.

All these functions are wrapping another function. They're the wrapper,
while the function they're wrapping is the wrapped.
This commit is contained in:
Aymeric Augustin
2022-05-22 08:20:29 +02:00
committed by Mariusz Felisiak
parent 90aabd730a
commit 6485894157
11 changed files with 28 additions and 28 deletions

View File

@@ -49,7 +49,7 @@ def mock_inputs(inputs):
"""
def inner(test_func):
def wrapped(*args):
def wrapper(*args):
class mock_getpass:
@staticmethod
def getpass(prompt=b"Password: ", stream=None):
@@ -90,7 +90,7 @@ def mock_inputs(inputs):
createsuperuser.getpass = old_getpass
builtins.input = old_input
return wrapped
return wrapper
return inner