From e2e2482391a4e7bd519be9b72e92ed00b2ab2f07 Mon Sep 17 00:00:00 2001 From: maurycyp Date: Sat, 7 Dec 2013 20:13:53 -0500 Subject: [PATCH] Renamed first argument of class method to cls --- django/contrib/humanize/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/contrib/humanize/tests.py b/django/contrib/humanize/tests.py index d2bb4c034e..0f31beb81f 100644 --- a/django/contrib/humanize/tests.py +++ b/django/contrib/humanize/tests.py @@ -28,7 +28,7 @@ now = datetime.datetime(2012, 3, 9, 22, 30) class MockDateTime(datetime.datetime): @classmethod - def now(self, tz=None): + def now(cls, tz=None): if tz is None or tz.utcoffset(now) is None: return now else: