diff options
| author | Alex Gaynor <alex.gaynor@gmail.com> | 2013-12-07 17:16:01 -0800 |
|---|---|---|
| committer | Alex Gaynor <alex.gaynor@gmail.com> | 2013-12-07 17:16:01 -0800 |
| commit | d653c0bd2ea25a53ac5f76cb854cc1b3e083ea0e (patch) | |
| tree | 54f652fea71537bbaf2405f3ba9d4b801c47c1fd | |
| parent | 5c61b8519d8ce02e4308201f3e81fdc99ad80b58 (diff) | |
| parent | e2e2482391a4e7bd519be9b72e92ed00b2ab2f07 (diff) | |
Merge pull request #2050 from maurycyp/master
Renamed first argument of class method to cls
| -rw-r--r-- | django/contrib/humanize/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |
