Commit e2e24823 authored by maurycyp's avatar maurycyp
Browse files

Renamed first argument of class method to cls

parent 5c61b851
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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: